/[gentoo-x86]/net-irc/bnc/bnc-2.9.4.ebuild
Gentoo

Contents of /net-irc/bnc/bnc-2.9.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Nov 6 02:32:41 2008 UTC (9 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
s390 love
(Portage version: 2.2_rc13/cvs/Linux 2.6.27.4 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/bnc/bnc-2.9.4.ebuild,v 1.8 2008/01/28 06:13:11 vapier Exp $
4
5 inherit eutils
6
7 MY_P=${P/-/}
8 DESCRIPTION="BNC (BouNCe) is used as a gateway to an IRC Server"
9 HOMEPAGE="http://gotbnc.com/"
10 SRC_URI="http://gotbnc.com/files/${MY_P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm ppc ~s390 sparc x86"
15 IUSE="ssl"
16
17 DEPEND="ssl? ( dev-libs/openssl )"
18
19 S=${WORKDIR}/${MY_P}
20
21 src_unpack() {
22 unpack ${A}
23 cd "${S}"
24 sed -i -e 's:./mkpasswd:/usr/bin/bncmkpasswd:' bncsetup || die
25 epatch "${FILESDIR}"/${P}-build.patch
26 epatch "${FILESDIR}"/${PN}-2.9.3-64bit.patch
27 }
28
29 src_compile() {
30 econf $(use_with ssl) || die "econf failed"
31 emake || die
32 }
33
34 src_install() {
35 emake install DESTDIR="${D}" || die
36 mv "${D}"/usr/bin/{,bnc}mkpasswd || die
37 dodoc Changelog README example.conf motd
38 }
39
40 pkg_postinst() {
41 einfo "You can find an example motd/conf file here:"
42 einfo " /usr/share/doc/${PF}/"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20