2003-11-06 16:24:19 +01:00
|
|
|
buildinputs="$zlib $libjpeg"
|
2004-03-09 11:59:55 +01:00
|
|
|
. $stdenv/setup
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
tar xvfz $src
|
|
|
|
cd tiff-*
|
2003-11-06 16:24:19 +01:00
|
|
|
./configure --prefix=$out --with-DIR_MAN=$out/man \
|
|
|
|
--with-ZIP --with-JPEG \
|
2004-03-09 11:59:55 +01:00
|
|
|
--with-DIRS_LIBINC="$zlib/include $libjpeg/include"
|
|
|
|
make
|
|
|
|
mkdir $out
|
|
|
|
make install
|
|
|
|
strip -S $out/lib/*.a
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
mkdir $out/nix-support
|
|
|
|
echo "$zlib $libjpeg" > $out/nix-support/propagated-build-inputs
|