2009-02-08 15:17:05 +01:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-12-24 18:02:44 +01:00
|
|
|
version = a.lib.attrByPath ["version"] "3.5" a;
|
2009-02-08 15:17:05 +01:00
|
|
|
buildInputs = with a; [
|
|
|
|
aalib gsl libpng libX11 xproto libXext xextproto
|
|
|
|
libXt zlib gettext intltool perl
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2009-12-24 18:02:44 +01:00
|
|
|
url = "mirror://sourceforge/xaos/xaos-${version}.tar.gz";
|
|
|
|
sha256 = "0hj8sxya4s9rc1m4xvxj00jgiczi3ljf2zvrhx34r3ja2m9af7s7";
|
2009-02-08 15:17:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
|
2009-05-20 01:25:58 +02:00
|
|
|
preConfigure = a.fullDepEntry (''
|
2009-02-08 15:17:05 +01:00
|
|
|
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/locale
|
2009-02-08 15:17:05 +01:00
|
|
|
'') ["doUnpack" "minInit" "defEnsureDir"];
|
|
|
|
|
|
|
|
name = "xaos-" + version;
|
|
|
|
meta = {
|
2009-12-24 18:02:44 +01:00
|
|
|
homepage = http://xaos.sourceforge.net/;
|
2009-02-08 15:17:05 +01:00
|
|
|
description = "XaoS - fractal viewer";
|
2009-12-24 18:02:44 +01:00
|
|
|
license = "GPLv2+";
|
2009-02-08 15:17:05 +01:00
|
|
|
};
|
|
|
|
}
|