/[gentoo-x86]/net-irc/miau/miau-0.6.2.ebuild
Gentoo

Contents of /net-irc/miau/miau-0.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon May 28 18:10:22 2007 UTC (7 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
x86 stable, remove old
(Portage version: 2.1.2.7)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/miau/miau-0.6.2.ebuild,v 1.2 2007/05/06 12:36:02 genone Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Persistent IRC bouncer with multi-client support - a fork of muh"
8 HOMEPAGE="http://miau.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ~ppc x86"
13 IUSE="debug ipv6"
14
15 DEPEND=""
16
17 pkg_setup() {
18 if use ipv6; then
19 echo
20 ewarn "Enabling the ipv6 useflag will disable ipv4 entirely. Press"
21 ewarn "Ctrl+C now if you don't want this."
22 echo
23 ebeep 5
24 fi
25 }
26
27 src_compile() {
28 # --disable-debug seems to actually enabled it, using if use rather than
29 # use_enable to get around it.
30 if use debug; then
31 myconf="--enable-debug"
32 fi
33 econf \
34 --enable-dccbounce \
35 --enable-automode \
36 --enable-releasenick \
37 --enable-ctcp-replies \
38 --enable-mkpasswd \
39 --enable-uptime \
40 --enable-chanlog \
41 --enable-privlog \
42 --enable-onconnect \
43 --enable-empty-awaymsg \
44 $(use_enable ipv6) \
45 ${myconf} \
46 $(use_enable debug enduserdebug) \
47 $(use_enable debug pingstat) \
48 $(use_enable debug dumpstatus) \
49 || die "econf failed."
50 emake || die "emake failed."
51 }
52
53 src_install() {
54 emake install DESTDIR="${D}" || die "emake install failed."
55 dodoc AUTHORS ChangeLog TODO README || die "dodoc failed."
56
57 mv "${D}/usr/share/doc/miau/examples/miaurc" \
58 "${D}/usr/share/doc/${PF}/miaurc.sample"
59 rm -rf "${D}/usr/share/doc/miau"
60 }
61
62 pkg_postinst() {
63 echo
64 elog "You'll need to configure miau before running it."
65 elog "Put your config in ~/.miau/miaurc"
66 elog "You can use the sample config is in /usr/share/doc/${PF}/miaurc.sample"
67 elog "For more information, see the documentation."
68 echo
69 }

  ViewVC Help
Powered by ViewVC 1.1.20