about summary refs log tree commit diff
path: root/pkgs/applications/taxes/aangifte-2008/builder.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-03-24 09:00:34 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-03-24 09:00:34 +0000
commit37de59a3be97093953535632fe2623dd4f5fc1f9 (patch)
treeadc28b7fd80055928ef33bd709d2f9b8003925eb /pkgs/applications/taxes/aangifte-2008/builder.sh
parent1167cdd1badc504073dabcdf47bd86728c61e0a2 (diff)
downloadnixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.tar
nixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.tar.gz
nixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.tar.bz2
nixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.tar.lz
nixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.tar.xz
nixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.tar.zst
nixlib-37de59a3be97093953535632fe2623dd4f5fc1f9.zip
* Dutch tax return program for 2008.
  (And the government is *still* violating the LGPL...)

svn path=/nixpkgs/trunk/; revision=14678
Diffstat (limited to 'pkgs/applications/taxes/aangifte-2008/builder.sh')
-rw-r--r--pkgs/applications/taxes/aangifte-2008/builder.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/taxes/aangifte-2008/builder.sh b/pkgs/applications/taxes/aangifte-2008/builder.sh
new file mode 100644
index 000000000000..e2d2658024a4
--- /dev/null
+++ b/pkgs/applications/taxes/aangifte-2008/builder.sh
@@ -0,0 +1,21 @@
+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
\ No newline at end of file