b8a0ebe410
* Make it detect bzip2; this is required for "meinproc". svn path=/nixpkgs/trunk/; revision=4641
19 lines
396 B
Bash
19 lines
396 B
Bash
# Ugh, this should be factored out.
|
|
addInputsHook=addBzip2
|
|
addBzip2() {
|
|
bzip2=$(type -tP bzip2)
|
|
test -n $bzip2 || fail
|
|
buildInputs="$(dirname $(dirname $bzip2)) $buildInputs"
|
|
}
|
|
|
|
source $stdenv/setup
|
|
|
|
configureFlags="\
|
|
--without-arts \
|
|
--with-ssl-dir=$openssl \
|
|
--with-extra-includes=$libjpeg/include \
|
|
--x-includes=$libX11/include \
|
|
--x-libraries=$libX11/lib"
|
|
|
|
genericBuild
|