* Added util-linux (for mount etc.).

svn path=/nixpkgs/trunk/; revision=786
This commit is contained in:
Eelco Dolstra
2004-02-16 10:40:45 +00:00
parent d6a58594d2
commit a33753a973
5 changed files with 175 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
#! /bin/sh -e
buildinputs="$patch"
. $stdenv/setup
# !!! hack; this is because $linuxHeaders/config.h includes some
# file autoconf.h. What is that?
export NIX_CFLAGS_COMPILE="-D_LINUX_CONFIG_H $NIX_CFLAGS_COMPILE"
tar xvfz $src
cd util-linux-*
patch MCONFIG $mconfigPatch
./configure
make
export DESTDIR=$out
make install