3
0
Fork 0
forked from mirrors/nixpkgs

Updating aMSN.

svn path=/nixpkgs/trunk/; revision=30420
This commit is contained in:
Lluís Batlle i Rossell 2011-11-14 09:59:26 +00:00
parent 54e4f2d5b5
commit 45388a9ae1
2 changed files with 11 additions and 18 deletions

View file

@ -1,11 +0,0 @@
source $stdenv/setup
echo $libstdcpp
echo "-L$libstdcpp/lib"
LDFLAGS="-L$libstdcpp/lib"
CPPFLAGS="-L$libstdcpp/include"
CFLAGS="-lm"
configureFlags="--with-tcl=$tcl/lib --with-tk=$tk/lib --enable-static"
genericBuild

View file

@ -1,15 +1,19 @@
{stdenv, fetchurl, which, tcl, tk, x11, libstdcpp }:
{stdenv, fetchurl, which, tcl, tk, x11, libpng, libjpeg, makeWrapper}:
stdenv.mkDerivation {
name = "amsn-0.96";
builder = ./builder.sh;
name = "amsn-0.98.4";
src = fetchurl {
url = mirror://sourceforge/amsn/amsn-0.96.tar.bz2;
md5 = "3df6b0d34ef1997a47c0b8af29b2547a";
url = mirror://sourceforge/amsn/amsn-0.98.4-src.tar.gz;
sha256 = "1kcn1hc6bvgy4svf5l3j5psdrvsmy0p3r33fn7gzcinqdf3xfgqx";
};
inherit tcl tk libstdcpp;
buildInputs = [which tcl tk x11 ];
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
'';
meta = {
homepage = http://amsn-project.net;