|
root / base / font-util / build.sh
build.sh Bash 20 lines 579 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Build script for font-util (autotools). No shared library output (build
# helpers + font metadata only) - confirmed zero libtool references in the
# release configure, so the Template A libtool hammerhead* sed does not
# apply here.
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
export CFLAGS="${CFLAGS} -D__EXTENSIONS__"

./configure \
    --prefix="$PREFIX" \
    --build="$BUILD_TRIPLE" \
    --host="$BUILD_TRIPLE" \
    --sysconfdir="$SYSCONFDIR"

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"