pkgconf.sh (333B)
- #!/bin/sh
- set -ex
- die() {
- echo "die: $@"
- exit 1
- }
- tar xof /distfiles/pkgconf-*.tar.gz
- cd ./pkgconf-*/
- export LD="tcc"
- export MAKE="pdpmake"
- ./configure --prefix=/usr --disable-nls --disable-dependency-tracking
- $MAKE clean
- $MAKE ARFLAGS='-r'
- $MAKE install
- ln -s `command -v pkgconf` /usr/bin/pkg-config
- cd ..
- rm -r ./pkgconf-*/