3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/taxes/aangifte-2008/builder.sh
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

20 lines
373 B
Bash

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