shrub/nix/nixcrpkgs/native/pkgconf/builder.sh
benjamin-tlon edd57d380d
Finish cc-release cross-compilation. (#1202)
- Fixes the IPC bug
- Fixes the terminfo bug
- Moves the OSX SDK out of our nixcrpkgs fork.
- Vendor nixcrpkgs instead of having it be a submodule.
2019-04-23 19:50:38 -07:00

22 lines
332 B
Bash

source $setup
tar -xf $src
mkdir build
cd build
../pkgconf-$version/configure \
--prefix=$out \
--with-system-libdir=/no-system-libdir/ \
--with-system-includedir=/no-system-includedir/
make
make install
ln -s $out/bin/pkgconf $out/bin/pkg-config
mkdir $out/license
cp ../pkgconf-$version/COPYING $out/license/LICENSE