| 1 |
# Copyright 1999-2005 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.5.3.ebuild,v 1.3 2005/07/07 16:27:50 swegener Exp $
|
| 4 |
|
| 5 |
DESCRIPTION="Persistent IRC bouncer with multi-client support - a fork of muh"
|
| 6 |
HOMEPAGE="http://miau.sourceforge.net/"
|
| 7 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 8 |
LICENSE="GPL-2"
|
| 9 |
SLOT="0"
|
| 10 |
KEYWORDS="~x86"
|
| 11 |
IUSE="debug ipv6"
|
| 12 |
|
| 13 |
DEPEND=""
|
| 14 |
|
| 15 |
src_compile() {
|
| 16 |
econf \
|
| 17 |
--enable-dccbounce \
|
| 18 |
--enable-automode \
|
| 19 |
--enable-releasenick \
|
| 20 |
--enable-ctcp-replies \
|
| 21 |
--enable-mkpasswd \
|
| 22 |
--enable-uptime \
|
| 23 |
--enable-chanlog \
|
| 24 |
--enable-privlog \
|
| 25 |
--enable-onconnect \
|
| 26 |
--enable-empty-awaymsg \
|
| 27 |
$(use_enable ipv6) \
|
| 28 |
$(use_enable debug) \
|
| 29 |
$(use_enable debug enduserdebug) \
|
| 30 |
$(use_enable debug pingstat) \
|
| 31 |
$(use_enable debug dumpstatus) \
|
| 32 |
|| die "econf failed"
|
| 33 |
emake CFLAGS="${CFLAGS}" || die "emake failed"
|
| 34 |
}
|
| 35 |
|
| 36 |
src_install() {
|
| 37 |
make install DESTDIR="${D}" || die "make install failed"
|
| 38 |
dodoc AUTHORS ChangeLog TODO README || die "dodoc failed"
|
| 39 |
|
| 40 |
mv "${D}"/usr/share/doc/miau/examples/miaurc "${D}"/usr/share/doc/${PF}/miaurc.sample
|
| 41 |
rm -rf "${D}"/usr/share/doc/miau
|
| 42 |
}
|
| 43 |
|
| 44 |
pkg_postinst() {
|
| 45 |
einfo
|
| 46 |
einfo "You'll need to configure miau before running it."
|
| 47 |
einfo "Put your config in ~/.miau/miaurc"
|
| 48 |
einfo "A sample config is /usr/share/doc/${PF}/miaurc.sample"
|
| 49 |
einfo "For more information, see the documentation."
|
| 50 |
einfo
|
| 51 |
}
|