summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-11-05 14:42:17 +0000
committerAchim Gottinger <achim@gentoo.org>2000-11-05 14:42:17 +0000
commit6633c64e18ba71b54dad0e4be03c52f3ccec4f53 (patch)
tree75ec53ff5b64633365ddf6fe4a6c3939718b8754 /net-irc
parentAdded dependencies and use gnome feature (diff)
downloadgentoo-2-6633c64e18ba71b54dad0e4be03c52f3ccec4f53.tar.gz
gentoo-2-6633c64e18ba71b54dad0e4be03c52f3ccec4f53.tar.bz2
gentoo-2-6633c64e18ba71b54dad0e4be03c52f3ccec4f53.zip
Added dependencies
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/bitchx/bitchx-1.0.17.ebuild36
-rw-r--r--net-irc/xchat/xchat-1.4.2.ebuild5
2 files changed, 30 insertions, 11 deletions
diff --git a/net-irc/bitchx/bitchx-1.0.17.ebuild b/net-irc/bitchx/bitchx-1.0.17.ebuild
index dd8146d7fae9..188d95dc3fa9 100644
--- a/net-irc/bitchx/bitchx-1.0.17.ebuild
+++ b/net-irc/bitchx/bitchx-1.0.17.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/bitchx-1.0.17.ebuild,v 1.2 2000/10/09 16:02:49 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/bitchx-1.0.17.ebuild,v 1.3 2000/11/05 14:42:17 achim Exp $
P=BitchX-1.0c17
A=${P}.tar.gz
@@ -10,12 +10,23 @@ DESCRIPTION="A IRC Client"
SRC_URI="ftp://ftp.bitchx.com/pub/BitchX/source/${A}"
HOMEPAGE="http://www.bitchx.com/"
+DEPEND=">=sys-libs/glibc-2.1.3
+ >=sys-libs/gpm-1.19.3
+ >=sys-libs/ncurses-5.1
+ gnome? ( >=gnome-base/gnome-libs-1.2.4 )"
src_compile() {
cd ${S}
- try ./configure --prefix=/usr/X11R6 --host=${CHOST} \
- --with-gtk --enable-sound --enable-cdrom
+ local myopts
+ if [ -n "`use gnome`" ]
+ then
+ myopts="--with-gtk --with-sound --prefix=/opt/gnome"
+ else
+ myopts="--prefix=/usr"
+ fi
+ try ./configure ${myopts} --host=${CHOST} \
+ --enable-cdrom
try make
}
@@ -23,16 +34,21 @@ src_compile() {
src_install () {
cd ${S}
- try make prefix=${D}/usr/X11R6 install
- prepman /usr/X11R6
- dodoc Changelog README* IPv6-support
+ if [ -n "`use gnome`" ]
+ then
+ try make prefix=${D}/opt/gnome install
+ insinto /opt/gnome/share/gnome/apps/Internet
+ doins gtkBitchX.desktop
+ insinto /opt/gnome/share/pixmaps
+ doins BitchX.png
+ else
+ try make prefix=${D}/usr install
+ fi
+ dodoc Changelog README* IPv5-support
cd doc
insinto /usr/X11R6/include/bitmaps
doins BitchX.xpm
- insinto /opt/gnome/share/gnome/apps/Internet
- doins gtkBitchX.desktop
- insinto /opt/gnome/share/pixmaps
- doins BitchX.png
+
dodoc BitchX-* BitchX.bot *.doc BitchX.faq bitch52* README.hooks
dodoc bugs *.txt functions ideas mode plugins tcl-ideas watch
dodoc *.tcl
diff --git a/net-irc/xchat/xchat-1.4.2.ebuild b/net-irc/xchat/xchat-1.4.2.ebuild
index fbef3479a633..451284413282 100644
--- a/net-irc/xchat/xchat-1.4.2.ebuild
+++ b/net-irc/xchat/xchat-1.4.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.4.2.ebuild,v 1.5 2000/10/28 19:16:05 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.4.2.ebuild,v 1.6 2000/11/05 14:42:17 achim Exp $
A=${P}.tar.bz2
S=${WORKDIR}/${P}
@@ -9,6 +9,9 @@ DESCRIPTION="xchat"
SRC_URI="http://www.xchat.org/files/source/1.4/"${A}
HOMEPAGE="http://www.xchat.org/"
+DEPEND=">=media-libs/imlib-1.9.8.1
+ gnome? ( >=gnome-base/gnome-core-1.2.2.1 )"
+
src_compile() {
cd ${S}
local myopts