mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
c5157f7d9d
svn path=/nixpkgs/trunk/; revision=19199
26 lines
440 B
Bash
Executable File
26 lines
440 B
Bash
Executable File
source $stdenv/setup
|
|
|
|
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() {
|
|
mkdir $out
|
|
mkdir $out/bin
|
|
mkdir $out/lib
|
|
mkdir $out/include
|
|
mkdir $out/man
|
|
mkdir $out/man/man1
|
|
}
|
|
|
|
patchPhase() {
|
|
for i in $patches; do
|
|
patch < $i
|
|
done
|
|
}
|
|
|
|
genericBuild
|