#!/bin/sh # Build script for libXfont2 (autotools, Template A). 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" # libXfont2 - X font rasterization library (xlibre-server CDEPEND >=2.0.1) # https://gitlab.freedesktop.org/xorg/lib/libxfont [package] name = "libXfont2" version = "2.0.8" release = 1 description = "X font rasterization library" url = "https://xorg.freedesktop.org/releases/individual/lib/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["freetype", "libfontenc"] build = ["freetype", "libfontenc", "xtrans", "xorgproto", "util-macros"] [[source]] file = "libXfont2-2.0.8.tar.xz" urls = ["https://xorg.freedesktop.org/releases/individual/lib/libXfont2-2.0.8.tar.xz"] checksum = "f556c0e1093a4e6911cc90bc4b106d201902ee187fd74af206ff162f7e6a24d5" [build] parallel = true