2010-01-13 21:11:48 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
installFlags="PREFIX=$out"
|
|
|
|
|
|
|
|
preBuild() {
|
|
|
|
cp Makefile.def Makefile
|
2010-11-22 23:16:05 +00:00
|
|
|
sed -i GNUmakefile -e 's/compress %/%/g'
|
2010-01-13 21:11:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
postInstall() {
|
|
|
|
rm $out/bin/uncompress* $out/bin/zcat*
|
|
|
|
ln -s compress $out/bin/uncompress
|
|
|
|
ln -s compress $out/bin/zcat
|
|
|
|
}
|
|
|
|
|
|
|
|
genericBuild
|