Fixing netpbm for x86_64 (and adding a hash for fetchsvn)

svn path=/nixpkgs/trunk/; revision=15049
This commit is contained in:
Lluís Batlle i Rossell 2009-04-15 08:24:37 +00:00
parent ec9e431b07
commit 67763e7c16

View File

@ -6,8 +6,11 @@ stdenv.mkDerivation {
src = fetchsvn {
url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
rev = 844;
sha256 = "8729e63bb5cc9fd500a68d5aed91fa4b973ebc068e3014b47390ba7b4d85968e";
};
NIX_CFLAGS_COMPILE = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
buildInputs = [ flex zlib perl libpng libjpeg libxml2 ];
configurePhase = "cp config.mk.in config.mk";