diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-03-15 21:45:57 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-03-15 21:45:57 +0000 |
commit | 9f4d91df34799b37f9a06b65e72e5acd6672454d (patch) | |
tree | 91ed897d9b53293245bd358977482a46a164d71a /pkgs/applications/taxes | |
parent | 2788bf2902ce03f8efda29a57b541e1219038f4e (diff) |
* Aangifte 2007.
svn path=/nixpkgs/trunk/; revision=11134
Diffstat (limited to 'pkgs/applications/taxes')
-rw-r--r-- | pkgs/applications/taxes/aangifte-2007/builder.sh | 19 | ||||
-rw-r--r-- | pkgs/applications/taxes/aangifte-2007/default.nix | 20 |
2 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/applications/taxes/aangifte-2007/builder.sh b/pkgs/applications/taxes/aangifte-2007/builder.sh new file mode 100644 index 000000000000..7064dd7391c9 --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2007/builder.sh @@ -0,0 +1,19 @@ +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:$libSM/lib \ + $i + done +} + +installPhase=installPhase +installPhase() { + ensureDir $out + cp -prvd * $out/ +} + +genericBuild
\ No newline at end of file diff --git a/pkgs/applications/taxes/aangifte-2007/default.nix b/pkgs/applications/taxes/aangifte-2007/default.nix new file mode 100644 index 000000000000..23632aedb329 --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2007/default.nix @@ -0,0 +1,20 @@ +{stdenv, fetchurl, libX11, libXext, libSM}: + +stdenv.mkDerivation { + name = "aangifte2007-1"; + builder = ./builder.sh; + + src = fetchurl { + url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2007_linux.tar.gz; + sha256 = "13p3gv086jn95wvmfygdmk9qjn0qxqdv7pp0v5pmw6i5hp8rmjxf"; + }; + + inherit libX11 libXext libSM; + + dontStrip = true; + + meta = { + description = "Elektronische aangifte IB 2007"; + url = "http://www.belastingdienst.nl/download/1341.html"; + }; +} |