# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/gmrun/gmrun-0.9.2-r1.ebuild,v 1.11 2014/09/08 08:45:50 jer Exp $ EAPI=5 inherit autotools eutils DESCRIPTION="A GTK-2 based launcher box with bash style auto completion!" HOMEPAGE="http://sourceforge.net/projects/gmrun/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-1" SLOT="0" KEYWORDS="amd64 ~mips ppc x86" RDEPEND=" dev-libs/glib:2 dev-libs/popt x11-libs/gtk+:2 " DEPEND=" ${RDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.10 ) sys-apps/sed virtual/pkgconfig " src_prepare() { epatch \ "${FILESDIR}"/${P}-gcc43.patch \ "${FILESDIR}"/${P}-sysconfdir.patch \ "${FILESDIR}"/${P}-glibc210.patch \ "${FILESDIR}"/${P}-stlport.patch eautoreconf } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog README NEWS }