Use the autoconf distribution of libpng
svn path=/nixpkgs/trunk/; revision=3414
This commit is contained in:
parent
58acb5aa0f
commit
de58e076cb
@ -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
|
|
@ -4,10 +4,9 @@ assert zlib != null;
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libpng-1.2.8";
|
name = "libpng-1.2.8";
|
||||||
builder = ./builder.sh;
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/libpng-1.2.8.tar.bz2;
|
url = http://surfnet.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.8-config.tar.gz;
|
||||||
md5 = "00cea4539bea4bd34cbf8b82ff9589cd";
|
md5 = "e5a39003eed16103cbbd3b6a8bc6b1f9";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [zlib];
|
propagatedBuildInputs = [zlib];
|
||||||
inherit zlib;
|
inherit zlib;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user