diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-11-10 16:08:04 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-11-10 16:08:04 +0000 |
commit | 06f88045f91012b525b5ab31683e588b66afc536 (patch) | |
tree | 8e01075e490031beda724f5271d30e63eb0f2e14 /net-irc/miau/miau-0.6.5.ebuild | |
parent | x86 stable (diff) | |
download | gentoo-2-06f88045f91012b525b5ab31683e588b66afc536.tar.gz gentoo-2-06f88045f91012b525b5ab31683e588b66afc536.tar.bz2 gentoo-2-06f88045f91012b525b5ab31683e588b66afc536.zip |
Version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-irc/miau/miau-0.6.5.ebuild')
-rw-r--r-- | net-irc/miau/miau-0.6.5.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/net-irc/miau/miau-0.6.5.ebuild b/net-irc/miau/miau-0.6.5.ebuild new file mode 100644 index 000000000000..4ca442f87b06 --- /dev/null +++ b/net-irc/miau/miau-0.6.5.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/miau/miau-0.6.5.ebuild,v 1.1 2007/11/10 16:08:03 armin76 Exp $ + +inherit eutils + +DESCRIPTION="Persistent IRC bouncer with multi-client support - a fork of muh" +HOMEPAGE="http://miau.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug ipv6" + +DEPEND="" + +pkg_setup() { + if use ipv6; then + echo + ewarn "Enabling the ipv6 useflag will disable ipv4 entirely. Press" + ewarn "Ctrl+C now if you don't want this." + echo + ebeep 5 + fi +} + +src_compile() { + # --disable-debug seems to actually enabled it, using if use rather than + # use_enable to get around it. + if use debug; then + myconf="--enable-debug" + fi + econf \ + --enable-dccbounce \ + --enable-automode \ + --enable-releasenick \ + --enable-ctcp-replies \ + --enable-mkpasswd \ + --enable-uptime \ + --enable-chanlog \ + --enable-privlog \ + --enable-onconnect \ + --enable-empty-awaymsg \ + $(use_enable ipv6) \ + ${myconf} \ + $(use_enable debug enduserdebug) \ + $(use_enable debug pingstat) \ + $(use_enable debug dumpstatus) \ + || die "econf failed." + emake || die "emake failed." +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed." + dodoc AUTHORS ChangeLog TODO README || die "dodoc failed." + + mv "${D}/usr/share/doc/miau/examples/miaurc" \ + "${D}/usr/share/doc/${PF}/miaurc.sample" + rm -rf "${D}/usr/share/doc/miau" +} + +pkg_postinst() { + echo + elog "You'll need to configure miau before running it." + elog "Put your config in ~/.miau/miaurc" + elog "You can use the sample config is in /usr/share/doc/${PF}/miaurc.sample" + elog "For more information, see the documentation." + echo +} |