M stdenv/mingw/pkgs/default.nix

A    stdenv/mingw/pkgs/pkgconfig-builder.sh

Bootstrap pkg-config: support the setup hook.

M    stdenv/mingw/fix-builder.sh

Fix the "system" variable.


svn path=/nixpkgs/trunk/; revision=6267
This commit is contained in:
Martin Bravenboer 2006-08-27 12:52:06 +00:00
parent 1838237d25
commit 5634042fa9
3 changed files with 12 additions and 2 deletions

View File

@ -17,6 +17,7 @@ if test -z "$out"; then
src=$SRC
srcs=$SRCS
succeedOnFailure=$SUCCEEDONFAILURE
system=$SYSTEM
fi
source $@

View File

@ -125,8 +125,9 @@ rec {
*/
pkgconfigBin = {stdenv, fetchurl} :
stdenv.mkDerivation {
name = "pkg-config-0.20";
builder = ./bin-builder.sh;
name = "pkgconfig-0.20";
builder = ./pkgconfig-builder.sh;
setupHook = ../../../development/tools/misc/pkgconfig/setup-hook.sh;
src =
fetchurl {
url = http://www.cs.uu.nl/people/martin/pkg-config-0.20-bin.tar.gz;

View File

@ -0,0 +1,8 @@
source $STDENV/setup
mkdir $OUT
cd $OUT
tar zxvf $SRC
test -x $OUT/nix-support || mkdir $OUT/nix-support
cp $SETUPHOOK $OUT/nix-support/setup-hook