# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/bitchx/bitchx-1.1-r4.ebuild,v 1.6 2011/12/21 19:52:31 binki Exp $ inherit flag-o-matic eutils S=${WORKDIR}/BitchX1.2 DESCRIPTION="An IRC Client" HOMEPAGE="http://www.bitchx.org/" SRC_URI="http://vicodan.fedorapeople.org/BitchX1.2.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ~ia64 ppc sh sparc x86" IUSE="ipv6 ssl" DEPEND=">=sys-libs/ncurses-5.1 ssl? ( >=dev-libs/openssl-0.9.6 )" src_unpack() { unpack ${A} cd "${S}" } src_compile() { replace-flags -O[3-9] -O2 append-flags -fno-strict-aliasing # Disable CDROM or else it will take over your CDROM drive local myconf="--disable-cdrom --disable-sound --without-gtk" # lamer@gentoo.org BROKEN, will not work with our socks # implementations, is looking for a SOCKSConnect function that our # dante packages don't have :-( # use socks5 \ # && myconf="${myconf} --with-socks=5" \ # || myconf="${myconf} --without-socks" econf \ --with-plugins \ $(use_with ssl) \ $(use_enable ipv6) \ ${myconf} || die emake DESTDIR="${D}" install } src_install () { einstall || die cd "${S}" dodoc bugs Changelog README* IPv6-support cd "${S}"/doc insinto /usr/include/X11/bitmaps doins BitchX.xpm || die dodoc README.* *.txt */*.txt tcl/* dohtml -r * cd "${S}"/dll docinto plugins dodoc nap/README.nap newdoc acro/README README.acro newdoc arcfour/README README.arcfour newdoc blowfish/README README.blowfish newdoc qbx/README README.qbx }