summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-04-10 12:31:35 +0000
committerSven Wegener <swegener@gentoo.org>2005-04-10 12:31:35 +0000
commita2ee1ba73aeaa05f59d42de0edbaf802bba2184e (patch)
treef717e224f3ecea0d29c2f71763fe3af684fb414b /net-irc/asuka/asuka-1.2.1.ebuild
parent~amd64 (diff)
downloadhistorical-a2ee1ba73aeaa05f59d42de0edbaf802bba2184e.tar.gz
historical-a2ee1ba73aeaa05f59d42de0edbaf802bba2184e.tar.bz2
historical-a2ee1ba73aeaa05f59d42de0edbaf802bba2184e.zip
Version bump.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-irc/asuka/asuka-1.2.1.ebuild')
-rw-r--r--net-irc/asuka/asuka-1.2.1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/net-irc/asuka/asuka-1.2.1.ebuild b/net-irc/asuka/asuka-1.2.1.ebuild
new file mode 100644
index 000000000000..b89725fc5ca4
--- /dev/null
+++ b/net-irc/asuka/asuka-1.2.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/asuka/asuka-1.2.1.ebuild,v 1.1 2005/04/10 12:31:35 swegener Exp $
+
+inherit eutils
+
+DESCRIPTION="The QuakeNet IRC Server"
+HOMEPAGE="http://dev-com.quakenet.org/"
+SRC_URI="http://dev-com.quakenet.org/releases/${PN}/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+IUSE="debug"
+DEPEND="virtual/libc"
+
+src_compile() {
+ econf \
+ --with-symlink=asuka-ircd \
+ --with-dpath=/etc/asuka \
+ --with-cpath=/etc/asuka/ircd.conf \
+ --with-lpath=/var/log/asuka/asuka.log \
+ $(use_enable debug) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ newbin ircd/ircd asuka-ircd || die "newbin failed"
+ newman doc/ircd.8 asuka-ircd.8 || die "newman failed"
+
+ insinto /etc/asuka
+ doins doc/ircd.conf.sample || die "doins failed"
+
+ newinitd ${FILESDIR}/asuka.init.d asuka || die "newinitd failed"
+ newconfd ${FILESDIR}/asuka.conf.d asuka || die "newconfd failed"
+
+ keepdir /var/log/asuka
+
+ dodoc \
+ INSTALL* LICENSE README* RELEASE.NOTES TODO* \
+ doc/readme.* doc/p10.html doc/features.txt doc/Authors \
+ || die "dodoc failed"
+}
+
+pkg_postinst() {
+ enewuser asuka
+ chown asuka ${ROOT}/var/log/asuka
+
+ einfo
+ einfo "A sample config file can be found at /etc/asuka/ircd.conf.sample"
+ einfo
+}