/[gentoo-x86]/net-irc/ezbounce/ezbounce-1.99.14.ebuild
Gentoo

Contents of /net-irc/ezbounce/ezbounce-1.99.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Oct 12 12:01:50 2013 UTC (9 months, 1 week ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Drop hardmasked package

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ezbounce-1.99.14.ebuild,v 1.5 2011/07/06 16:56:46 ssuominen Exp $
4
5 EAPI=4
6 inherit eutils
7
8 DESCRIPTION="a small IRC bouncer"
9 HOMEPAGE="http://www.linuxftw.com/ezbounce/"
10 SRC_URI="http://www.linuxftw.com/${PN}/files/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~x86"
15 IUSE="ssl boost"
16
17 RDEPEND=">=net-misc/mdidentd-1.04c
18 ssl? ( dev-libs/openssl )
19 boost? ( dev-libs/boost )"
20 DEPEND="${RDEPEND}"
21
22 RESTRICT="test"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-build.patch #251445
26 epatch "${FILESDIR}"/${P}-asneeded.patch
27 epatch "${FILESDIR}"/${P}+glibc-2.10.patch
28 epatch "${FILESDIR}"/${P}-ldflags.patch
29 }
30
31 src_configure() {
32 econf \
33 $(use_with ssl) \
34 $(use_with boost)
35 }
36
37 src_compile() {
38 emake CXX_OPTIMIZATIONS="${CXXFLAGS}"
39 }
40
41 src_install() {
42 dobin ezbounce
43 dosym ezbounce /usr/bin/ezb
44
45 echo '.so ezbounce.1' > ${T}/ezb.1
46 doman docs/ezbounce.1 "${T}"/ezb.1
47
48 dodoc CHANGES README TODO ezb.conf sample.conf
49 docinto docs
50 dodoc docs/{FAQ,README,REPORTING-BUGS,worklog,*.txt}
51 }

  ViewVC Help
Powered by ViewVC 1.1.20