3
0
Fork 0
forked from mirrors/nixpkgs

ascii: update 3.12 -> 3.14

The Makefile has changed so the I had to update the sed line.
This commit is contained in:
Bjørn Forsman 2013-11-30 23:48:01 +01:00
parent 456edc140d
commit 214e92081f

View file

@ -2,15 +2,15 @@
stdenv.mkDerivation rec {
name = "ascii-${version}";
version = "3.12";
version = "3.14";
src = fetchurl {
url = "http://www.catb.org/~esr/ascii/${name}.tar.gz";
sha256 = "17jhmmdbhzzaai0lr5aslg0nmqchq1ygdxwd8pgl7qn2jnxhc6ci";
sha256 = "1ldwi4cs2d36r1fv3j13cfa8h2pc4yayq5qii91758qqwfzky3kz";
};
prePatch = ''
sed -i -e 's|$(DESTDIR)/usr|$(out)|g' Makefile
sed -i -e "s|^PREFIX = .*|PREFIX = $out|" Makefile
'';
preInstall = ''