|
root / devel / pkgconf / build.sh
build.sh Bash 18 lines 402 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/bash
# Build script for pkgconf

set -e
cd "$SRCDIR"

./configure \
    --prefix=$PREFIX \
    --with-pkg-config-dir=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig \
    --with-system-libdir=$PREFIX/lib \
    --with-system-includedir=$PREFIX/include

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

# Create pkg-config symlink for compatibility
ln -sf pkgconf "$PKGDIR$PREFIX/bin/pkg-config"