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