# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/giftoxic/giftoxic-0.0.10.ebuild,v 1.10 2011/03/28 14:21:28 nirbheek Exp $ EAPI="1" IUSE="" MY_P="giFToxic-${PV}" DESCRIPTION="A GTK+2 giFT frontend" HOMEPAGE="http://giftoxic.sourceforge.net/" SRC_URI="mirror://sourceforge/giftoxic/${MY_P}.tar.gz" RESTRICT="mirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64 ~ppc" RDEPEND=">=x11-libs/gtk+-2.0.3:2 net-p2p/gift" DEPEND="${RDEPEND} dev-util/pkgconfig" S="${WORKDIR}/${MY_P}" src_compile() { econf --prefix=/usr || die "econf failed" emake CXXFLAGS="${CXXFLAGS}" || die } src_install() { emake DESTDIR="${D}" install || die }