|
root / base / xcb-proto / build.sh
build.sh Bash 18 lines 479 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/sh
# Build script for xcb-proto (autotools + python, Template A).
# Installs XML protocol descriptions + the xcbgen python module libxcb needs.
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
export PYTHON=/usr/local/bin/python3

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

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