summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild')
-rw-r--r--net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild
index 357bfc716a32..499ec3236aa6 100644
--- a/net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild
+++ b/net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild,v 1.6 2004/05/06 02:02:16 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.93.ebuild,v 1.7 2004/06/15 02:37:59 agriffis Exp $
IUSE="gnome gtk2 nls"
@@ -22,12 +22,12 @@ DEPEND="gtk2? ( =dev-libs/glib-2* =x11-libs/gtk+-2* )
DEPEND="${DEPEND} || ( dev-util/yacc sys-devel/bison )"
src_compile() {
- if [ `use gtk2` ]; then
+ if use gtk2; then
GTK_VER=2
else
GTK_VER=1
fi
- if [ `use nls` ]; then
+ if use nls; then
USE_NLS=y
else
USE_NLS=n
@@ -71,17 +71,16 @@ EOF
}
src_install () {
-
make INSTALL_PREFIX=${D} install || die "Install failed"
dodoc AUTHORS ChangeLog LICENSE MANIFEST README TODO doc
- use gnome && ( \
+ if use gnome; then
insinto /usr/share/gnome/apps/Internet
- doins ${FILESDIR}/gtk-gnutella.desktop
- )
+ doins ${FILESDIR}/gtk-gnutella.desktop || die
+ fi
}
pkg_postinst () {
- if [ `use gtk2` ]; then
+ if use gtk2; then
ewarn "You have enabled the GTK2 build of gtk-gnutella, there"
ewarn "is a known bug which causes an invalid assertion if"
ewarn "you select passive search"