summaryrefslogtreecommitdiff
blob: 88ec17947113601bcf30244a7ca5159cf99099f2 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/muh/muh-2.2_beta1.ebuild,v 1.3 2004/08/08 00:09:39 slarti Exp $

MY_P=${P/_/}

DESCRIPTION="Persistent IRC bouncer"
HOMEPAGE="http://mind.riot.org/muh/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips"
IUSE="ipv6"

DEPEND=""

S=${WORKDIR}/${MY_P}

src_compile() {
	econf $(use_enable ipv6) || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed"
	dodoc AUTHORS ChangeLog TODO
}

pkg_postinst() {
	einfo
	einfo "You'll need to configure muh before running it."
	einfo "Put your config in ~/.muh/muhrc"
	einfo "A sample config is /usr/share/muhrc"
	einfo "For more information, see the documentation."
	einfo
}