nixpkgs/pkgs/applications/taxes/aangifte-2008/builder.sh
Eelco Dolstra 37de59a3be * Dutch tax return program for 2008.
(And the government is *still* violating the LGPL...)

svn path=/nixpkgs/trunk/; revision=14678
2009-03-24 09:00:34 +00:00

21 lines
421 B
Bash

source $stdenv/setup
echo $NIX_GCC
buildPhase=buildPhase
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=installPhase
installPhase() {
ensureDir $out
cp -prvd * $out/
}
genericBuild