From bb5ec7619cec758102bece6c7b4619be89d8b3bf Mon Sep 17 00:00:00 2001 From: Michael Januszewski Date: Thu, 28 Apr 2005 18:00:32 +0000 Subject: Added support for building ekg with both ui-ncurses and ui-readline. (Portage version: 2.0.51.20-r5) --- net-im/ekg/ChangeLog | 8 ++++- net-im/ekg/ekg-1.6_rc1-r1.ebuild | 53 ++++++++++++++++++++++++++++++++++ net-im/ekg/files/digest-ekg-1.6_rc1-r1 | 1 + 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 net-im/ekg/ekg-1.6_rc1-r1.ebuild create mode 100644 net-im/ekg/files/digest-ekg-1.6_rc1-r1 (limited to 'net-im/ekg') diff --git a/net-im/ekg/ChangeLog b/net-im/ekg/ChangeLog index 1221ce2c1298..c1296c58de14 100644 --- a/net-im/ekg/ChangeLog +++ b/net-im/ekg/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-im/ekg # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ChangeLog,v 1.16 2005/04/14 20:04:15 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ChangeLog,v 1.17 2005/04/28 18:00:32 spock Exp $ + +*ekg-1.6_rc1-r1 (28 Apr 2005) + + 28 Apr 2005; Michał Januszewski + +ekg-1.6_rc1-r1.ebuild: + Added support for building ekg with both ui-ncurses and ui-readline. 14 Apr 2005; Michał Januszewski +files/ekg-1.6_rc1-fpic.patch, ekg-1.6_rc1.ebuild: diff --git a/net-im/ekg/ekg-1.6_rc1-r1.ebuild b/net-im/ekg/ekg-1.6_rc1-r1.ebuild new file mode 100644 index 000000000000..878d09ef0ec0 --- /dev/null +++ b/net-im/ekg/ekg-1.6_rc1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ekg-1.6_rc1-r1.ebuild,v 1.1 2005/04/28 18:00:32 spock Exp $ + +inherit eutils + +IUSE="ssl ncurses readline zlib python spell threads" + +DESCRIPTION="EKG (Eksperymentalny Klient Gadu-Gadu) - a text client for Polish instant messaging system Gadu-Gadu" +HOMEPAGE="http://dev.null.pl/ekg/" +SRC_URI="http://dev.null.pl/ekg/${P/_/}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ia64 ~amd64" + +S="${WORKDIR}/${P/_/}" + +DEPEND="ssl? ( >=dev-libs/openssl-0.9.6 ) + ncurses? ( sys-libs/ncurses ) + readline? ( sys-libs/readline ) + zlib? ( sys-libs/zlib ) + python? ( dev-lang/python ) + spell? ( >=app-text/aspell-0.50.3 )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/ekg-1.6_rc1-fpic.patch +} + +src_compile() { + local myconf="--enable-ioctld --enable-shared --enable-dynamic" + if use ncurses; then + myconf="$myconf --enable-force-ncurses" + else + myconf="$myconf --disable-ui-ncurses" + fi + use readline && myconf="$myconf --enable-ui-readline" + use zlib || myconf="$myconf --disable-zlib" + use ssl || myconf="$myconf --disable-openssl" + use python && myconf="$myconf --with-python" + use spell && myconf="$myconf --enable-aspell" + use threads && myconf="$myconf --with-pthread" + + econf ${myconf} || die + emake || die +} + +src_install() { + einstall || die + dodoc docs/* docs/api/* +} diff --git a/net-im/ekg/files/digest-ekg-1.6_rc1-r1 b/net-im/ekg/files/digest-ekg-1.6_rc1-r1 new file mode 100644 index 000000000000..c673ca22d3a5 --- /dev/null +++ b/net-im/ekg/files/digest-ekg-1.6_rc1-r1 @@ -0,0 +1 @@ +MD5 bce21bd6e896b71266afc30004f27402 ekg-1.6rc1.tar.gz 495016 -- cgit v1.2.3-65-gdbad