Use the autoconf distribution of libpng

svn path=/nixpkgs/trunk/; revision=3414
This commit is contained in:
Martin Bravenboer 2005-07-23 20:55:52 +00:00
parent 58acb5aa0f
commit de58e076cb
2 changed files with 2 additions and 18 deletions

View File

@ -1,15 +0,0 @@
. $stdenv/setup
makeFlags="-f scripts/makefile.linux"
preInstall() {
mkdir $out
mkdir $out/bin
mkdir $out/lib
mkdir $out/include
}
preInstall=preInstall
installFlags="-f scripts/makefile.linux install prefix=$out"
genericBuild

View File

@ -4,10 +4,9 @@ assert zlib != null;
stdenv.mkDerivation {
name = "libpng-1.2.8";
builder = ./builder.sh;
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/libpng-1.2.8.tar.bz2;
md5 = "00cea4539bea4bd34cbf8b82ff9589cd";
url = http://surfnet.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.8-config.tar.gz;
md5 = "e5a39003eed16103cbbd3b6a8bc6b1f9";
};
propagatedBuildInputs = [zlib];
inherit zlib;