3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/taxes/aangifte-2006/builder.sh
John Wiegley 28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00

18 lines
305 B
Bash

source $stdenv/setup
buildPhase() {
for i in bin/*; do
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath $libX11/lib:$libXext/lib \
$i
done
}
installPhase() {
mkdir -p $out
cp -prvd * $out/
}
genericBuild