Adding Eagle Mode.

svn path=/nixpkgs/trunk/; revision=15404
This commit is contained in:
Lluís Batlle i Rossell 2009-04-29 16:42:41 +00:00
parent 210ba6316e
commit 61c20f5a7e
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, fetchurl, perl, libX11, xineLib, libjpeg, libpng, libtiff }:
stdenv.mkDerivation {
name = "eaglemode-0.75";
src = fetchurl {
url = mirror://sourceforge/eaglemode/eaglemode-0.75.0.tar.bz2;
sha256 = "0iqdf55ff0il5frkl3yq3r27yk9xl30b9ygf3fvrv78a5bzpq8r7";
};
buildInputs = [ perl libX11 xineLib libjpeg libpng libtiff ];
buildPhase = ''
yes n | perl make.pl build
'';
installPhase = ''
perl make.pl install dir=$out
# I don't like this... but it seems the way they plan to run it by now.
# Run 'eaglemode.sh', not 'eaglemode'.
ln -s $out/eaglemode.sh $out/bin/eaglemode.sh
'';
meta = { homepage = "http://eaglemode.sourceforge.net";
description = "Zoomable User Interface";
license="GPLv3";
};
}

View File

@ -5869,6 +5869,10 @@ let
inherit (xlibs) libX11 libXinerama;
};
eaglemode = import ../applications/misc/eaglemode {
inherit fetchurl stdenv perl xineLib libjpeg libpng libtiff;
inherit (xlibs) libX11;
};
# put something like this into your ~/.nixpkgs/config.nix file
#eclipse = {