| 1 |
# Copyright 1999-2006 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/weechat/weechat-0.1.8.ebuild,v 1.1 2006/03/18 18:30:02 swegener Exp $
|
| 4 |
|
| 5 |
DESCRIPTION="Portable and multi-interface IRC client."
|
| 6 |
HOMEPAGE="http://weechat.flashtux.org/"
|
| 7 |
SRC_URI="http://weechat.flashtux.org/download/${P}.tar.bz2"
|
| 8 |
LICENSE="GPL-2"
|
| 9 |
|
| 10 |
SLOT="0"
|
| 11 |
KEYWORDS="~x86 ~ppc"
|
| 12 |
IUSE="debug perl python ruby ssl lua"
|
| 13 |
|
| 14 |
DEPEND="sys-libs/ncurses
|
| 15 |
perl? ( dev-lang/perl )
|
| 16 |
python? ( virtual/python )
|
| 17 |
ruby? ( dev-lang/ruby )
|
| 18 |
lua? ( >=dev-lang/lua-5.0 )
|
| 19 |
ssl? ( net-libs/gnutls )"
|
| 20 |
|
| 21 |
src_compile() {
|
| 22 |
econf \
|
| 23 |
--enable-curses \
|
| 24 |
$(use_enable perl) \
|
| 25 |
$(use_enable python) \
|
| 26 |
$(use_enable ruby) \
|
| 27 |
$(use_enable lua) \
|
| 28 |
$(use_enable ssl gnutls) \
|
| 29 |
$(use_with debug debug 2) \
|
| 30 |
|| die "econf failed"
|
| 31 |
emake || die "emake failed"
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
make DESTDIR="${D}" install || die "make install failed"
|
| 36 |
dodoc AUTHORS BUGS ChangeLog FAQ NEWS README TODO || die "dodoc failed"
|
| 37 |
}
|