kiss-mfavila-small/community-mod/rolling/cjson-git/build

10 lines
223 B
Bash
Executable File

#!/bin/sh -e
# Install static libs, avoid adding a 'cmake' dependency.
for lib in CJSON UTILS; do
sed -i "s/\$(INSTALL) \$(${lib}_SHARED)/& \$(${lib}_STATIC)/" Makefile
done
make
make DESTDIR="$1" PREFIX=/usr install