nixpkgs/pkgs/tools/compression/ncompress/builder.sh

15 lines
241 B
Bash
Raw Normal View History

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