diff options
author | Chuck Short <zul@gentoo.org> | 2003-10-27 19:55:24 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-10-27 19:55:24 +0000 |
commit | 298c54918c5fa4a627dddbea5664e339ca86252c (patch) | |
tree | 2d326fb6835d5d9419b7ae88ed63355cb185d8fb /net-irc/asuka/asuka-1.0.6.ebuild | |
parent | Initial version, closes #31615. (diff) | |
download | historical-298c54918c5fa4a627dddbea5664e339ca86252c.tar.gz historical-298c54918c5fa4a627dddbea5664e339ca86252c.tar.bz2 historical-298c54918c5fa4a627dddbea5664e339ca86252c.zip |
Initial version, closes #31615.
Diffstat (limited to 'net-irc/asuka/asuka-1.0.6.ebuild')
-rw-r--r-- | net-irc/asuka/asuka-1.0.6.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/net-irc/asuka/asuka-1.0.6.ebuild b/net-irc/asuka/asuka-1.0.6.ebuild new file mode 100644 index 000000000000..22a018f474a5 --- /dev/null +++ b/net-irc/asuka/asuka-1.0.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/asuka/asuka-1.0.6.ebuild,v 1.1 2003/10/27 19:55:17 zul Exp $ + +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" + +IUSE="debug" +DEPEND="virtual/glibc" +RDEPEND="" + +src_compile() { + local myconf="" + + use debug && myconf="${myconf} --enable-debug" + + econf --with-symlink=asuka-ircd \ + --with-dpath=/etc/asuka \ + --with-cpath=/etc/asuka/ircd.conf \ + --with-lpath=/var/log/asuka/asuka.log \ + ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + newbin ircd/ircd asuka-ircd + + newman doc/ircd.8 asuka-ircd.8 + + dodir /etc/asuka + insinto /etc/asuka + doins doc/ircd.conf.sample + + exeinto /etc/init.d + newexe ${FILESDIR}/asuka.init.d asuka + + insinto /etc/conf.d + newins ${FILESDIR}/asuka.conf.d asuka + + dodoc INSTALL* LICENSE README* RELEASE.NOTES TODO* + dodoc doc/readme.* doc/p10.html doc/features.txt doc/Authors +} + +pkg_setup() { + enewuser asuka +} + +pkg_postinst() { + install -d -m 0700 -o asuka -g root ${ROOT}/var/log/asuka + + einfo + einfo "A sample config file can be found at /etc/asuka/ircd.conf.sample" + einfo +} |