nixpkgs/pkgs/tools/compression/ncompress/builder.sh
Rob Vermaas 675a8ed9d8 ncompress provided by griswold
svn path=/nixpkgs/trunk/; revision=19410
2010-01-13 21:11:48 +00:00

15 lines
241 B
Bash

source $stdenv/setup
installFlags="PREFIX=$out"
preBuild() {
cp Makefile.def Makefile
}
postInstall() {
rm $out/bin/uncompress* $out/bin/zcat*
ln -s compress $out/bin/uncompress
ln -s compress $out/bin/zcat
}
genericBuild