* Aangifte 2006, still violating the LGPL on GTK+...

svn path=/nixpkgs/trunk/; revision=8291
This commit is contained in:
Eelco Dolstra 2007-03-14 11:18:38 +00:00
parent f2c540241a
commit ba7406aa35
3 changed files with 45 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1,19 @@
{stdenv, fetchurl, patchelf, libX11, libXext}:
stdenv.mkDerivation {
name = "aangifte2006-1";
builder = ./builder.sh;
src = fetchurl {
url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2006_linux.tar.gz;
sha256 = "1hgm3vmcr32v34h4y8yz3vxcxbcsxqb12qy1dqqwgbg1bja7nvrc";
};
buildInputs = [patchelf];
inherit libX11 libXext;
meta = {
description = "Elektronische aangifte IB 2006";
url = "http://www.belastingdienst.nl/download/1341.html";
};
}

View File

@ -2526,7 +2526,13 @@ rec {
### APPLICATIONS
aangifte2005 = import ../applications/taxes/aangifte2005 {
aangifte2005 = import ../applications/taxes/aangifte-2005 {
inherit stdenv fetchurl;
inherit (xlibs) libX11 libXext;
patchelf = patchelfNew;
};
aangifte2006 = import ../applications/taxes/aangifte-2006 {
inherit stdenv fetchurl;
inherit (xlibs) libX11 libXext;
patchelf = patchelfNew;