mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
293704a6f8
svn path=/nixpkgs/branches/stdenv-updates/; revision=24816
16 lines
286 B
Bash
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
|