noweb-2.11b
svn path=/nixpkgs/trunk/; revision=22384
This commit is contained in:
@@ -1,10 +1,23 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, gawk}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "noweb-2.10c";
|
||||
name = "noweb-2.11b";
|
||||
src = fetchurl {
|
||||
url = http://nixos.org/tarballs/noweb-20060201.tar.gz;
|
||||
md5 = "b4813c6bc0bab9004e57edc1d7e57638";
|
||||
urls = [ "http://ftp.de.debian.org/debian/pool/main/n/noweb/noweb_2.11b.orig.tar.gz"
|
||||
"ftp://www.eecs.harvard.edu/pub/nr/noweb.tgz"
|
||||
];
|
||||
sha256 = "10hdd6mrk26kyh4bnng4ah5h1pnanhsrhqa7qwqy6dyv3rng44y9";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
preBuild = ''
|
||||
cd src
|
||||
makeFlags="BIN=$out/bin LIB=$out/lib MAN=$out/share/man TEXINPUTS=$out/share/texmf/tex/latex"
|
||||
'';
|
||||
preInstall=''mkdir -p $out/share/texmf/tex/latex'';
|
||||
postInstall= ''
|
||||
substituteInPlace $out/bin/cpif --replace "PATH=/bin:/usr/bin" ""
|
||||
for f in $out/bin/{noweb,nountangle,noroots,noroff,noindex} $out/lib/*; do
|
||||
substituteInPlace $f --replace "nawk" "${gawk}/bin/awk"
|
||||
done
|
||||
'';
|
||||
patches = [ ./no-FAQ.patch ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user