* ALSA utilities (for `alsamixer' etc.).

svn path=/nixpkgs/trunk/; revision=3742
This commit is contained in:
Eelco Dolstra 2005-08-29 15:56:55 +00:00
parent 51492eb656
commit 0ff65fba1a
4 changed files with 25 additions and 0 deletions

View File

@ -11,3 +11,7 @@
* In libxml2: python2.3 -> python2.4 (or even better, make this
generic; also in bittorrent).
* Packages that need ncurses almost always need special flags. They
expect "ncurses.h" rather than "ncurses/ncurses.h" to be in the
include path. Fix this.

View File

@ -0,0 +1,5 @@
source $stdenv/setup
export NIX_CFLAGS_COMPILE="-I$ncurses/include/ncurses -I$ncurses/include $NIX_CFLAGS_COMPILE"
genericBuild

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, alsaLib, ncurses, gettext}:
stdenv.mkDerivation {
name = "alsa-utils-1.0.9a";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.9a.tar.bz2;
md5 = "d4b77e9fe0311772293e402fdd634ad2";
};
buildInputs = [alsaLib ncurses gettext];
inherit ncurses;
}

View File

@ -1145,6 +1145,10 @@ rec {
inherit fetchurl stdenv;
};
alsaUtils = (import ../os-specific/linux/alsa/utils) {
inherit fetchurl stdenv alsaLib ncurses gettext;
};
utillinux = (import ../os-specific/linux/util-linux) {
inherit fetchurl stdenv;
};