nixpkgs/pkgs/gqview/gqview-build.sh
Eelco Dolstra 35e9ca4fa9 * Added gqview, a nice image viewer.
svn path=/nixpkgs/trunk/; revision=380
2003-09-03 10:56:30 +00:00

14 lines
297 B
Bash
Executable file

#! /bin/sh
envpkgs="$gtk $libpng $zlib"
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH
NIX_CFLAGS_COMPILE="-I$libpng/include -I$zlib/include $NIX_CFLAGS_COMPILE"
tar xvfz $src || exit 1
cd gqview-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1