blob: 8591be41be591f138a4a2045459374fbf220749e (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2004 Gentoo Foundation
# 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.7 2004/06/24 23:01:40 agriffis 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/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
}
|