/[gentoo-x86]/net-irc/scrollz/scrollz-2.2.ebuild
Gentoo

Contents of /net-irc/scrollz/scrollz-2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu May 3 06:27:13 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/scrollz/scrollz-2.2.ebuild,v 1.6 2012/02/06 17:27:50 ranger Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 MY_P=ScrollZ-${PV}
10
11 DESCRIPTION="Advanced IRC client based on ircII"
12 HOMEPAGE="http://scrollz.com/"
13 SRC_URI="http://www.scrollz.com/download/${MY_P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
18 IUSE="gmp gnutls ipv6 socks5 ssl"
19
20 REQUIRED_USE="gnutls? ( ssl )"
21
22 RDEPEND="sys-libs/ncurses
23 gmp? ( dev-libs/gmp )
24 ssl? (
25 gnutls? ( net-libs/gnutls )
26 !gnutls? ( dev-libs/openssl )
27 )"
28 DEPEND="${RDEPEND}
29 virtual/pkgconfig"
30
31 S=${WORKDIR}/${MY_P}
32
33 src_prepare() {
34 epatch "${FILESDIR}"/${P}-cppflags.patch
35 epatch "${FILESDIR}"/${P}-make-install.patch
36 }
37
38 src_configure() {
39 local _myssl
40
41 if use ssl; then
42 if use gnutls; then
43 _myssl="--with-ssl"
44 else
45 _myssl="--with-openssl"
46 fi
47 fi
48
49 tc-export CC #397441, ancient autoconf
50 econf \
51 --with-default-server=irc.gentoo.org \
52 $(use_enable socks5) \
53 $(use_enable ipv6) \
54 --enable-regexp \
55 $(use_enable gmp fish) \
56 ${_myssl}
57 }
58
59 src_install() {
60 emake \
61 DESTDIR="${D}" \
62 mandir="${EPREFIX}/usr/share/man/man1" \
63 install
64
65 dodoc ChangeLog* NEWS README* todo
66 }

  ViewVC Help
Powered by ViewVC 1.1.20