| git.druid.rocks | index | druid520 | ports | ports/ | build-tools/ | gperf/ | add.sh |
ports/build-tools/gperf/add.sh
set -e
curl -LO https://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz
tar xf gperf-3.1.tar.gz
mv gperf-3.1 gperf
cd gperf
./configure CC="${CC:-cc}" CFLAGS="-std=gnu17 $CFLAGS" LDFLAGS="$LDFLAGS" --prefix=$MP_PREFIX
make -j$MP_JOBS
make install
make clean || true