diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-07-01 20:14:35 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-07-01 20:14:35 +0000 |
commit | 9fd4fd9b2da177158d26b3410bd27925e24de855 (patch) | |
tree | 4248b3dab3507b34b13b3e8cee91ab68db22eca8 /net-irc | |
parent | Blocked all 2.4.5 kernel packages (diff) | |
download | historical-9fd4fd9b2da177158d26b3410bd27925e24de855.tar.gz historical-9fd4fd9b2da177158d26b3410bd27925e24de855.tar.bz2 historical-9fd4fd9b2da177158d26b3410bd27925e24de855.zip |
New stable version
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/xchat/files/digest-xchat-1.8.0 | 1 | ||||
-rw-r--r-- | net-irc/xchat/xchat-1.8.0.ebuild | 82 |
2 files changed, 83 insertions, 0 deletions
diff --git a/net-irc/xchat/files/digest-xchat-1.8.0 b/net-irc/xchat/files/digest-xchat-1.8.0 new file mode 100644 index 000000000000..a331f8e1ad0a --- /dev/null +++ b/net-irc/xchat/files/digest-xchat-1.8.0 @@ -0,0 +1 @@ +MD5 2d040e1b156b8fed91e7ac3cf83f309a xchat-1.8.0.tar.bz2 diff --git a/net-irc/xchat/xchat-1.8.0.ebuild b/net-irc/xchat/xchat-1.8.0.ebuild new file mode 100644 index 000000000000..a4ca9f1e6764 --- /dev/null +++ b/net-irc/xchat/xchat-1.8.0.ebuild @@ -0,0 +1,82 @@ +# Copyrigth 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.8.0.ebuild,v 1.1 2001/07/01 20:14:35 achim Exp $ + +A=${P}.tar.bz2 +S=${WORKDIR}/${P} +DESCRIPTION="xchat" +SRC_URI="http://www.xchat.org/files/source/1.7/"${A} +HOMEPAGE="http://www.xchat.org/" + +DEPEND=">=gnome-base/gdk-pixbuf-0.11.0 + perl? ( sys-devel/perl ) + python? ( dev-lang/python ) + nls? ( >=sys-devel/gettext-0.10.38 ) + gnome? ( >=gnome-base/gnome-core-1.2.2.1 ) + ssl? ( >=dev-libs/openssl-0.9.6a )" + +RDEPEND=">=gnome-base/gdk-pixbuf-0.11.0 + gnome? ( >=gnome-base/gnome-core-1.2.2.1 ) ssl? ( >=dev-libs/openssl-0.9.6a )" + +src_compile() { + + local myopts + local myflags + + if [ "`use gnome`" ] + then + myopts="--enable-gnome --enable-panel --prefix=/opt/gnome" + else + myopts="--enable-gtkfe --disable-gnome --prefix=/usr/X11R6" + fi + if [ "`use ssl`" ] ; then + myopts="$myopts --enable-openssl" + fi + if [ -z "`use perl`" ] ; then + myopts="$myopts --disable-perl" + fi + if [ "`use python`" ] ; then + myflags="-lz" + if [ "`use berkdb`" ] ; then + myflags="$myflags -ldb-3.2 -lndbm" + fi + if [ "`use readline`" ] ; then + myflags="$myflags -lreadline -lncurses -lcrypt" + fi + else + myopts="$myopts --disable-python" + fi + if [ -z "`use nls`" ] ; then + myopts="$myopts --disable-nls" + fi + try ./configure --host=${CHOST} ${myopts} --enable-ipv6 + if [ "$myflags" ] ; then + for i in src/fe-gtk src/fe-text + do + if [ -e $i/Makefile ] ; then + cp $i/Makefile $i/Makefile.orig + sed -e "s:-lpython2.0:-lpython2.0 $myflags:" \ + $i/Makefile.orig > $i/Makefile + fi + done + fi + try pmake +} + +src_install() { + cd ${S} + if [ -n "`use gnome`" ] + then + try make prefix=${D}/opt/gnome install + else + try make prefix=${D}/usr/X11R6 install + fi + dodoc AUTHORS COPYING ChangeLog README +} + + + + + + |