kiss-mfavila-small/ports/unofficial/stable/cjson/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