net-irc/muh: EAPI 6 bump
authorAmy Liffey <amynka@gentoo.org>
Wed, 23 Aug 2017 09:14:59 +0000 (11:14 +0200)
committerAmy Liffey <amynka@gentoo.org>
Wed, 23 Aug 2017 09:14:59 +0000 (11:14 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

net-irc/muh/muh-2.2a-r1.ebuild [new file with mode: 0644]

diff --git a/net-irc/muh/muh-2.2a-r1.ebuild b/net-irc/muh/muh-2.2a-r1.ebuild
new file mode 100644 (file)
index 0000000..c5c9dc8
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Persistent IRC bouncer"
+HOMEPAGE="http://mind.riot.org/muh/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="ipv6"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       econf --datadir=/usr/share/muh $(use_enable ipv6)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       dodoc AUTHORS ChangeLog TODO
+}
+
+pkg_postinst() {
+       elog
+       elog "You'll need to configure muh before running it."
+       elog "Put your config in ~/.muh/muhrc"
+       elog "A sample config is /usr/share/muh/muhrc"
+       elog "For more information, see the documentation."
+       elog
+}