summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kryczek <mkay@gentoo.org>2005-09-20 18:00:05 +0000
committerMarcin Kryczek <mkay@gentoo.org>2005-09-20 18:00:05 +0000
commit9f9b15b70dd98d9efc66841f992e7e96a719c451 (patch)
tree41991853916f8f07afc786404fba707331974396 /net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild
parentUnmasked latest tomcat because it has been tested. (diff)
downloadhistorical-9f9b15b70dd98d9efc66841f992e7e96a719c451.tar.gz
historical-9f9b15b70dd98d9efc66841f992e7e96a719c451.tar.bz2
historical-9f9b15b70dd98d9efc66841f992e7e96a719c451.zip
New revision bump without gtk2 flag. Also removing few older versions
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild')
-rw-r--r--net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild
new file mode 100644
index 000000000000..1670472e27b4
--- /dev/null
+++ b/net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.95.4-r1.ebuild,v 1.1 2005/09/20 18:00:05 mkay Exp $
+
+inherit eutils
+
+IUSE="gnome nls"
+
+DESCRIPTION="A GTK+ Gnutella client"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+RESTRICT="nomirror"
+HOMEPAGE="http://gtk-gnutella.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="dev-libs/libxml2
+ =dev-libs/glib-2* =x11-libs/gtk+-2*
+ dev-util/yacc
+ nls? ( >=sys-devel/gettext-0.11.5 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+}
+
+src_compile() {
+ local myconf
+
+ if use nls; then
+ myconf="${myconf} -Dd_enablenls -Dgmsgfmt=\"/usr/bin/msgfmt\" -Dmsgfmt=\"/usr/bin/msgfmt\""
+ else
+ myconf="${myconf} -Ud_enablenls"
+ fi
+
+ ./Configure -d -s -e \
+ -Dprefix="/usr" \
+ -Dprivlib="/usr/share/gtk-gnutella" \
+ -Dccflags="${CFLAGS}" \
+ -Dgtkversion=2 \
+ ${myconf} \
+ -Doptimize=" " \
+ -Dofficial="true" || die "Configure failed"
+
+ emake || die "Compile failed"
+}
+
+src_install() {
+ dodir /usr/bin
+ make INSTALL_PREFIX=${D} install || die "Install failed"
+ find ${D}/usr/share -type f -exec chmod a-x {} \;
+ dodoc AUTHORS ChangeLog README TODO
+
+}
+