#!/bin/sh # Build script for libfontenc (autotools, Template A). zlib is PRESENT # in base. set -e cd "$SRCDIR" if [ -f configure ]; then sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure fi export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:/usr/lib/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__" export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib" ./configure \ --prefix="$PREFIX" \ --build="$BUILD_TRIPLE" \ --host="$BUILD_TRIPLE" \ --sysconfdir="$SYSCONFDIR" \ --disable-static gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # libfontenc - X font encoding library # https://gitlab.freedesktop.org/xorg/lib/libfontenc [package] name = "libfontenc" version = "1.1.9" release = 1 description = "X font encoding library" url = "https://xorg.freedesktop.org/releases/individual/lib/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = ["xorgproto", "util-macros"] [[source]] file = "libfontenc-1.1.9.tar.xz" urls = ["https://xorg.freedesktop.org/releases/individual/lib/libfontenc-1.1.9.tar.xz"] checksum = "9d8392705cb10803d5fe1d27d236cbab3f664e26841ce01916bbbe430cf273e2" [build] parallel = true