summaryrefslogtreecommitdiff
blob: bc7bbd0cfe351f3f3ed22aa719b157a93de03be5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/ezbounce/ezbounce-1.04a.ebuild,v 1.7 2004/09/12 17:05:54 swegener Exp $

inherit eutils

DESCRIPTION="ezbounce is a small IRC bouncer"
HOMEPAGE="http://druglord.freelsd.org/ezbounce/"
SRC_URI="http://druglord.freelsd.org/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"

IUSE="ssl"
DEPEND=">=net-misc/mdidentd-1.04a
	ssl? ( dev-libs/openssl )"

src_unpack() {
	unpack ${A}

	epatch ${FILESDIR}/${P}-crash-fix.patch
}

src_compile() {
	local myconf

	use ssl && myconf="${myconf} --with-ssl"

	econf ${myconf} || die
	emake  || die
}

src_install() {
	dobin ezbounce
	dodoc CHANGES TODO README ezb.conf sample.*
	doman misc/ezbounce.1
}