|
root / devel / gperf
gperf Plain Text 42 lines 1.1 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/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 <chris.tusa@leafscale.com>"
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