2009-02-08 14:17:05 +00:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 11:57:41 +01:00
|
|
|
version = a.lib.attrByPath ["version"] "3.4" a;
|
2009-02-08 14:17:05 +00:00
|
|
|
buildInputs = with a; [
|
|
|
|
aalib gsl libpng libX11 xproto libXext xextproto
|
|
|
|
libXt zlib gettext intltool perl
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://prdownloads.sourceforge.net/xaos/XaoS-${version}.tar.gz";
|
|
|
|
sha256 = "004cdb0xv14shyixs79bf95s52s7aidr5bqfn9wb49gpasrsknrc";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
|
2009-05-20 00:25:58 +01:00
|
|
|
preConfigure = a.fullDepEntry (''
|
2009-02-08 14:17:05 +00:00
|
|
|
sed -e s@/usr/@"$out/"@g -i configure $(find . -name 'Makefile*')
|
|
|
|
ensureDir $out/share/locale
|
|
|
|
'') ["doUnpack" "minInit" "defEnsureDir"];
|
|
|
|
|
|
|
|
name = "xaos-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "XaoS - fractal viewer";
|
|
|
|
};
|
|
|
|
}
|