/[gentoo-alt]/trunk/overlay/net-im/ekg/ekg-1.6.ebuild
Gentoo

Contents of /trunk/overlay/net-im/ekg/ekg-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1060 - (show annotations) (download)
Sat Feb 18 12:28:58 2006 UTC (8 years, 6 months ago) by flameeyes
File size: 1556 byte(s)
Add ekg with patch for DragonFly, bug #123250. Thanks to Robert Sebastian Gerus.
1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ekg-1.6.ebuild,v 1.1 2005/12/10 16:01:51 spock Exp $
4
5 inherit eutils
6
7 IUSE="ssl ncurses readline zlib python spell threads"
8
9 DESCRIPTION="EKG (Eksperymentalny Klient Gadu-Gadu) - a text client for Polish instant messaging system Gadu-Gadu"
10 HOMEPAGE="http://dev.null.pl/ekg/"
11 SRC_URI="http://dev.null.pl/ekg/${P/_/}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
16
17 S="${WORKDIR}/${P/_/}"
18
19 DEPEND="net-libs/libgadu
20 ssl? ( >=dev-libs/openssl-0.9.6 )
21 ncurses? ( sys-libs/ncurses )
22 readline? ( sys-libs/readline )
23 zlib? ( sys-libs/zlib )
24 python? ( dev-lang/python )
25 spell? ( >=app-text/aspell-0.50.3 )"
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30 epatch "${FILESDIR}/${PN}-1.6_rc3-libgadu.patch"
31 epatch "${FILESDIR}/${P}-dragonfly.patch"
32 eautoreconf
33 }
34
35 src_compile() {
36 local myconf="--enable-ioctld --disable-static --enable-dynamic"
37 if use ncurses; then
38 myconf="$myconf --enable-force-ncurses"
39 else
40 myconf="$myconf --disable-ui-ncurses"
41 fi
42 use readline && myconf="$myconf --enable-ui-readline"
43 use zlib || myconf="$myconf --disable-zlib"
44 use ssl || myconf="$myconf --disable-openssl"
45 use python && myconf="$myconf --with-python"
46 use spell && myconf="$myconf --enable-aspell"
47 use threads && myconf="$myconf --with-pthread"
48
49 econf ${myconf} || die
50 emake || die
51 }
52
53 src_install() {
54 make DESTDIR="${D}" install || die
55 dodoc docs/* docs/api/*
56 }

  ViewVC Help
Powered by ViewVC 1.1.20