1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/libraries/libjpeg-static/builder.sh
Eelco Dolstra 88f1d8af8e * Build splashutils properly.
svn path=/nixpkgs/trunk/; revision=7134
2006-11-25 23:41:53 +00:00

28 lines
509 B
Bash

source $stdenv/setup
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