# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # HEADER NEEDS TO BE CHANGED.. IS THAT AUTOMATIC? # $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.1.8.ebuild,v 1.2 2006/02/14 03:42:37 deltacow Exp $ DESCRIPTION="A slim GTK-based image browser" HOMEPAGE="http://developer.berlios.de/projects/gimmage/" SRC_URI="mirror://gentoo/${P}.tar.gz http://download.berlios.de/gimmage/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86 ~ppc" IUSE="debug" DEPEND="dev-cpp/gtkmm net-misc/curl sys-apps/file sys-devel/gettext" #RDEPEND=${DEPEND} the same as DEPEND src_compile() { if use debug; then einfo "Enabling debugging" ./configure \ --prefix=/usr \ --eanble-debug || die "./configure failed" else ./configure --prefix=/usr || die "./configure failed" fi emake || die "emake failed" } src_install() { einstall || die "einstall failed" }