a33753a973
svn path=/nixpkgs/trunk/; revision=786
16 lines
327 B
Bash
Executable file
16 lines
327 B
Bash
Executable file
#! /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
|