diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-03-14 10:57:24 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-03-14 10:57:24 +0000 |
commit | f2c540241a5730ec9f8674f53dfbe3b1f858433f (patch) | |
tree | f7f686144400d25f40bb792bfb047472ae5887a5 /pkgs/applications/taxes | |
parent | 2df33633a669264474441f9c9e5be7beb954de24 (diff) |
* Refactoring.
svn path=/nixpkgs/trunk/; revision=8290
Diffstat (limited to 'pkgs/applications/taxes')
-rw-r--r-- | pkgs/applications/taxes/aangifte-2005/builder.sh | 19 | ||||
-rw-r--r-- | pkgs/applications/taxes/aangifte-2005/default.nix | 14 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/taxes/aangifte-2005/builder.sh b/pkgs/applications/taxes/aangifte-2005/builder.sh new file mode 100644 index 000000000000..8e01f6b8b3e0 --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2005/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 \ + $i + done +} + +installPhase=installPhase +installPhase() { + ensureDir $out + cp -prvd * $out/ +} + +genericBuild
\ No newline at end of file diff --git a/pkgs/applications/taxes/aangifte-2005/default.nix b/pkgs/applications/taxes/aangifte-2005/default.nix new file mode 100644 index 000000000000..8db1c8dfd43f --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2005/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, patchelf, libX11, libXext}: + +stdenv.mkDerivation { + name = "aangifte2005-1"; + builder = ./builder.sh; + + src = fetchurl { + url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2005_linux.tar.gz; + md5 = "9cc709b8ad041f4b20154ff1491d0436"; + }; + + buildInputs = [patchelf]; + inherit libX11 libXext; +} |