* Added util-linux (for mount etc.).
svn path=/nixpkgs/trunk/; revision=786
This commit is contained in:
16
pkgs/os-specific/linux/util-linux/builder.sh
Executable file
16
pkgs/os-specific/linux/util-linux/builder.sh
Executable 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
|
||||
Reference in New Issue
Block a user