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