2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2004-04-02 14:58:55 +01:00
|
|
|
configureFlags="--enable-shared"
|
|
|
|
|
2006-07-14 16:59:30 +01:00
|
|
|
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
|
2004-04-02 14:58:55 +01:00
|
|
|
preInstall() {
|
|
|
|
mkdir $out
|
|
|
|
mkdir $out/bin
|
|
|
|
mkdir $out/lib
|
|
|
|
mkdir $out/include
|
|
|
|
mkdir $out/man
|
|
|
|
mkdir $out/man/man1
|
|
|
|
}
|
2006-07-14 16:59:30 +01:00
|
|
|
|
|
|
|
patchPhase=patchPhase
|
|
|
|
patchPhase() {
|
|
|
|
for i in $patches; do
|
|
|
|
patch < $i
|
|
|
|
done
|
|
|
|
}
|
2004-04-02 14:58:55 +01:00
|
|
|
|
|
|
|
genericBuild
|