* Added gqview, a nice image viewer.

svn path=/nixpkgs/trunk/; revision=380
This commit is contained in:
Eelco Dolstra 2003-09-03 10:56:30 +00:00
parent 10a53b57d8
commit 35e9ca4fa9
2 changed files with 30 additions and 0 deletions

13
pkgs/gqview/gqview-build.sh Executable file
View file

@ -0,0 +1,13 @@
#! /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

17
pkgs/gqview/gqview.fix Normal file
View file

@ -0,0 +1,17 @@
Package(
[ ("name", "gqview-1.3.2")
, ("build", Relative("gqview/gqview-build.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "http://heanet.dl.sourceforge.net/sourceforge/gqview/gqview-1.3.2.tar.gz")
, ("md5", "0f2ce36475b2cdc8013545f5e3268034")
]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
, ("gtk", IncludeFix("gtk+/gtk+.fix"))
, ("libpng", IncludeFix("libpng/libpng.fix"))
, ("zlib", IncludeFix("zlib/zlib.fix"))
]
)