8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
15 lines
286 B
Bash
15 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
|