diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2005-10-01 15:14:25 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2005-10-01 15:14:25 +0000 |
commit | d1314572384185ab71a5948be512ee3d0fee25bf (patch) | |
tree | 76d7d55d58e29724d72aba3e582c03d2a7011310 /x11-misc/gwhere/gwhere-0.2.1-r1.ebuild | |
parent | Stable on sparc wrt #107748 (diff) | |
download | gentoo-2-d1314572384185ab71a5948be512ee3d0fee25bf.tar.gz gentoo-2-d1314572384185ab71a5948be512ee3d0fee25bf.tar.bz2 gentoo-2-d1314572384185ab71a5948be512ee3d0fee25bf.zip |
Fix compilation on amd64 (bug 104488) and remove gtk2 USE flag (bug 106560).
(Portage version: 2.0.52-r1)
Diffstat (limited to 'x11-misc/gwhere/gwhere-0.2.1-r1.ebuild')
-rw-r--r-- | x11-misc/gwhere/gwhere-0.2.1-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-misc/gwhere/gwhere-0.2.1-r1.ebuild b/x11-misc/gwhere/gwhere-0.2.1-r1.ebuild new file mode 100644 index 000000000000..324231b4ef74 --- /dev/null +++ b/x11-misc/gwhere/gwhere-0.2.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/gwhere/gwhere-0.2.1-r1.ebuild,v 1.1 2005/10/01 15:14:25 nelchael Exp $ + +inherit eutils + +DESCRIPTION="Removable media cataloger made with GTK+" +HOMEPAGE="http://www.gwhere.org/" +SRC_URI="http://www.gwhere.org/download/source/${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +LICENSE="GPL-2" +SLOT="0" + +IUSE="nls" + +DEPEND="=x11-libs/gtk+-2* + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + if [ "${ARCH}" = "amd64" ]; then + epatch ${FILESDIR}/${P}-amd64.patch + fi +} + +src_compile() { + econf $(use_enable nls) --enable-gtk20 || die "econf failed" + emake || die "emake failed" +} + +src_install() { + # einstall is needed here + einstall || die "einstall failed" + dodoc AUTHORS BUGS ChangeLog NEWS README TODO || die "dodoc failed" +} |