From 99780f00ce5d0b7f10e51df01b7e4a264e0983c8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 24 Aug 2005 14:26:32 +0000 Subject: [PATCH] * AALib. svn path=/nixpkgs/trunk/; revision=3682 --- pkgs/development/libraries/aalib/builder.sh | 6 ++++++ pkgs/development/libraries/aalib/default.nix | 11 +++++++++++ pkgs/system/all-packages-generic.nix | 4 ++++ 3 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/aalib/builder.sh create mode 100644 pkgs/development/libraries/aalib/default.nix diff --git a/pkgs/development/libraries/aalib/builder.sh b/pkgs/development/libraries/aalib/builder.sh new file mode 100644 index 000000000000..f74b1d56228a --- /dev/null +++ b/pkgs/development/libraries/aalib/builder.sh @@ -0,0 +1,6 @@ +source $stdenv/setup + +configureFlags="--without-x --with-ncurses=$ncurses" +export NIX_CFLAGS_COMPILE="-I$ncurses/include/ncurses $NIX_CFLAGS_COMPILE" + +genericBuild diff --git a/pkgs/development/libraries/aalib/default.nix b/pkgs/development/libraries/aalib/default.nix new file mode 100644 index 000000000000..f4717f66192b --- /dev/null +++ b/pkgs/development/libraries/aalib/default.nix @@ -0,0 +1,11 @@ +{stdenv, fetchurl, ncurses}: + +stdenv.mkDerivation { + name = "aalib-1.4rc4"; + builder = ./builder.sh; + src = fetchurl { + url = http://surfnet.dl.sourceforge.net/sourceforge/aa-project/aalib-1.4rc4.tar.gz; + md5 = "d5aa8e9eae07b7441298b5c30490f6a6"; + }; + inherit ncurses; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 3b8da4d21123..bd1e65ba841b 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -717,6 +717,10 @@ rec { inherit fetchurl stdenv zlib; }; + aalib = (import ../development/libraries/aalib) { + inherit fetchurl stdenv ncurses; + }; + libsigsegv = (import ../development/libraries/libsigsegv) { inherit fetchurl stdenv; };