mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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 {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user