* Renamed pkgs-ng to pkgs.

svn path=/nixpkgs/trunk/; revision=502
This commit is contained in:
Eelco Dolstra
2003-11-14 09:59:13 +00:00
parent 6b2bb22474
commit 48c3faca51
141 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$pkgconfig $gtk $libpng"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd gqview-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
@@ -0,0 +1,22 @@
{stdenv, fetchurl, pkgconfig, gtk, libpng}:
assert !isNull pkgconfig && !isNull gtk && !isNull png;
# Note that we cannot just copy gtk's png attribute, since gtk might
# not be linked against png.
assert libpng == gtk.libpng;
derivation {
name = "gqview-1.3.5";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = http://heanet.dl.sourceforge.net/sourceforge/gqview/gqview-1.3.5.tar.gz;
md5 = "c44687bdd636ea6e5133fb936abf880a";
};
stdenv = stdenv;
pkgconfig = pkgconfig;
gtk = gtk;
libpng = libpng;
}