#!/bin/sh # Build script for gperf (autotools). No libtool/shared-lib output (gperf # builds a single static binary tool, not a library) so the Template A # libtool hammerhead* dynamic-linker sed does not apply here - confirmed # by grepping the release configure for "libtool" (zero hits). set -e cd "$SRCDIR" export CFLAGS="${CFLAGS} -D__EXTENSIONS__" ./configure \ --prefix="$PREFIX" \ --build="$BUILD_TRIPLE" \ --host="$BUILD_TRIPLE" gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # gperf - perfect hash function generator (fontconfig build dependency) # https://www.gnu.org/software/gperf/ [package] name = "gperf" version = "3.3" release = 1 description = "Perfect hash function generator" url = "https://www.gnu.org/software/gperf/" license = "GPL-3.0-or-later" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = [] [[source]] file = "gperf-3.3.tar.gz" urls = ["https://ftp.gnu.org/gnu/gperf/gperf-3.3.tar.gz"] checksum = "fd87e0aba7e43ae054837afd6cd4db03a3f2693deb3619085e6ed9d8d9604ad8" [build] parallel = true