2011-11-14 10:59:26 +01:00
|
|
|
{stdenv, fetchurl, which, tcl, tk, x11, libpng, libjpeg, makeWrapper}:
|
2006-07-22 13:34:58 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-11-14 10:59:26 +01:00
|
|
|
name = "amsn-0.98.4";
|
2006-07-22 13:34:58 +02:00
|
|
|
src = fetchurl {
|
2011-11-14 10:59:26 +01:00
|
|
|
url = mirror://sourceforge/amsn/amsn-0.98.4-src.tar.gz;
|
|
|
|
sha256 = "1kcn1hc6bvgy4svf5l3j5psdrvsmy0p3r33fn7gzcinqdf3xfgqx";
|
2006-07-22 13:34:58 +02:00
|
|
|
};
|
|
|
|
|
2011-11-14 10:59:26 +01:00
|
|
|
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --enable-static";
|
|
|
|
|
|
|
|
buildInputs = [which tcl tk x11 libpng libjpeg makeWrapper];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
|
|
|
|
'';
|
2008-01-30 20:49:42 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://amsn-project.net;
|
|
|
|
};
|
2006-07-22 13:34:58 +02:00
|
|
|
}
|