mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Updating aMSN.
svn path=/nixpkgs/trunk/; revision=30420
This commit is contained in:
parent
54e4f2d5b5
commit
45388a9ae1
@ -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
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user