#!/bin/sh # Build script for xtrans (autotools, Template A). Header/source only, no shared lib. set -e cd "$SRCDIR" export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="${CFLAGS} -I$PREFIX/include" 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" # xtrans - X transport library (header/source only, no compiled shared lib) # https://gitlab.freedesktop.org/xorg/lib/libxtrans [package] name = "xtrans" version = "1.6.0" release = 1 description = "X transport library headers used by X libs/server for network transport" url = "https://xorg.freedesktop.org/releases/individual/lib/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = ["util-macros"] [[source]] file = "xtrans-1.6.0.tar.xz" urls = ["https://xorg.freedesktop.org/releases/individual/lib/xtrans-1.6.0.tar.xz"] checksum = "faafea166bf2451a173d9d593352940ec6404145c5d1da5c213423ce4d359e92" [build] parallel = true