nixpkgs/pkgs/tools/compression/bzip2/builder-darwin.sh
Eelco Dolstra 4d91fa9c45 * Quick hack to get bzip2 to build on Darwin.
svn path=/nixpkgs/trunk/; revision=4737
2006-02-06 12:29:36 +00:00

12 lines
208 B
Bash

source $stdenv/setup
installFlags="PREFIX=$out"
postInstall=postInstall
postInstall() {
rm $out/bin/bunzip2 $out/bin/bzcat
ln -s bzip2 $out/bin/bunzip2
ln -s bzip2 $out/bin/bzcat
}
genericBuild