# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-1.101.ebuild,v 1.1 2002/06/10 21:39:53 spider Exp $ # Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+ DEBUG="yes" RESTRICT="nostrip" # force debug information CFLAGS="${CFLAGS} -g" CXXFLAGS="${CXXFLAGS} -g" S=${WORKDIR}/${P} SLOT="0" DESCRIPTION="gthumb is an Image Viewer and Browser for Gnome." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://gthumb.sourceforge.net/" LICENSE="GPL-2" RDEPEND=">=dev-libs/glib-2.0.3 >=x11-libs/gtk+-2.0.3 >=dev-libs/libxml2-2.4.22 >=gnome-base/libgnome-2.0.0 >=gnome-base/libgnomeui-2.0.0 >=gnome-base/libgnomecanvas-2.0.0 >=gnome-base/gnome-vfs-1.9.16 >=gnome-base/libglade-2.0.0 >=gnome-base/libgnomeprint-1.115.0 >=gnome-base/libgnomeprintui-1.115.0 >=gnome-base/bonobo-activation-1.0.0 >=gnome-base/libbonobo-2.0.0 >=gnome-base/libbonoboui-2.0.0 >=media-libs/libpng-1.2.1" DEPEND=">=dev-util/pkgconfig-0.12.0 ${RDEPEND}" src_compile() { ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --sysconfdir=/etc \ --localstatedir=/var/lib || die emake || die } src_install () { make prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ sysconfdir=${D}/etc \ localstatedir=${D}/var/lib \ install || die dodoc AUTHORS COPYING ChangeLog NEWS README TODO doman ${S}/doc/gthumb.1 }