#!/bin/sh # Build script for xcb-util (autotools, Template A). set -e cd "$SRCDIR" # MANDATORY libtool fix - see Template A comment in DESKTOP_XLIBRE_PHASE1A_PLAN.md. 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__ -D_POSIX_PTHREAD_SEMANTICS" 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" # xcb-util - base XCB utility functions (atom cache, etc.) # https://xcb.freedesktop.org/ [package] name = "xcb-util" version = "0.4.1" release = 1 description = "Utility libraries for the XCB library (base module)" url = "https://xcb.freedesktop.org/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["libxcb"] build = ["libxcb", "xorgproto"] [[source]] file = "xcb-util-0.4.1.tar.xz" urls = ["https://xorg.freedesktop.org/releases/individual/xcb/xcb-util-0.4.1.tar.xz"] checksum = "5abe3bbbd8e54f0fa3ec945291b7e8fa8cfd3cccc43718f8758430f94126e512" [build] parallel = true