mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
10c99c750e
svn path=/nixpkgs/trunk/; revision=5711
30 lines
543 B
Bash
30 lines
543 B
Bash
source $stdenv/setup
|
|
|
|
configureFlags="--enable-shared"
|
|
|
|
preConfigure=preConfigure
|
|
preConfigure() {
|
|
# Workarounds for the ancient libtool shipped by libjpeg.
|
|
ln -s $libtool/bin/libtool .
|
|
cp $libtool/share/libtool/config.guess .
|
|
cp $libtool/share/libtool/config.sub .
|
|
}
|
|
|
|
preInstall=preInstall
|
|
preInstall() {
|
|
mkdir $out
|
|
mkdir $out/bin
|
|
mkdir $out/lib
|
|
mkdir $out/include
|
|
mkdir $out/man
|
|
mkdir $out/man/man1
|
|
}
|
|
|
|
patchPhase=patchPhase
|
|
patchPhase() {
|
|
for i in $patches; do
|
|
patch < $i
|
|
done
|
|
}
|
|
|
|
genericBuild |