nixpkgs/pkgs/libjpeg/libjpeg-build.sh
Eelco Dolstra 9f91684adb * A bunch of image file format libraries required by gtk.
svn path=/nixpkgs/trunk/; revision=366
2003-08-27 15:17:15 +00:00

16 lines
328 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd jpeg-* || exit 1
./configure --prefix=$out --enable-shared || exit 1
make || exit 1
mkdir $out || exit 1
mkdir $out/bin || exit 1
mkdir $out/lib || exit 1
mkdir $out/include || exit 1
mkdir $out/man || exit 1
mkdir $out/man/man1 || exit 1
make install || exit 1