1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 07:34:36 +00:00
nixpkgs/pkgs/tools/compression/ncompress/builder.sh
Michael Raskin 293704a6f8 Fix the makefile
svn path=/nixpkgs/branches/stdenv-updates/; revision=24816
2010-11-22 23:16:05 +00:00

16 lines
286 B
Bash

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