nixpkgs/pkgs/applications/taxes/aangifte-2006/builder.sh
Eelco Dolstra ba7406aa35 * Aangifte 2006, still violating the LGPL on GTK+...
svn path=/nixpkgs/trunk/; revision=8291
2007-03-14 11:18:38 +00:00

19 lines
354 B
Bash

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