nixpkgs/pkgs/development/libraries/libpng/builder.sh
Eelco Dolstra d74192ee38 * propagated-build-inputs should now be placed in $out/nix-support.
svn path=/nixpkgs/trunk/; revision=823
2004-03-09 10:59:55 +00:00

18 lines
322 B
Bash
Executable file

#! /bin/sh -e
buildinputs="$zlib"
. $stdenv/setup
tar xvfj $src
cd libpng-*
make -f scripts/makefile.linux
mkdir $out
mkdir $out/bin
mkdir $out/lib
mkdir $out/include
make -f scripts/makefile.linux install prefix=$out
strip -S $out/lib/*.a
mkdir $out/nix-support
echo "$zlib" > $out/nix-support/propagated-build-inputs