You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/gmrun/gmrun-0.9.2.ebuild

41 lines
1.0 KiB

# Copyright 1999-2012 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.ebuild,v 1.21 2012/05/05 04:53:53 jdhore Exp $
EAPI=2
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 ppc x86"
IUSE=""
RDEPEND="x11-libs/gtk+:2
dev-libs/popt"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-apps/sed"
src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch
# ugly but it's not backwards compatible
if has_version ">=sys-libs/glibc-2.10"; then
epatch "${FILESDIR}"/${P}-glibc210.patch
fi
# Disable check for STLport due to bug #164339
sed -i -e 's,^AC_PATH_STLPORT,dnl REMOVED ,g' configure.in
sed -i -e 's,@STLPORT_[A-Z]\+@,,g' src/Makefile.am
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog README NEWS
}