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
62
63
64
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink/ptlink-6.14.2.ebuild,v 1.3 2004/05/29 16:16:27 pvdabeel Exp $
MY_P="PTlink${PV}"
DESCRIPTION="PTlink IRCd is a secure IRC daemon with many advanced features."
HOMEPAGE="http://www.ptlink.net/"
SRC_URI="mirror://sourceforge/ptlinksoft/${MY_P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND="virtual/glibc"
RDEPEND=""
S=${WORKDIR}/${MY_P}
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/etc/ptlinkircd \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
emake || die
}
src_install() {
newbin src/ircd ptlinkircd || die
newbin tools/fixklines fixklines || die
newbin tools/mkpasswd mkpasswd || die
insinto /etc/ptlinkircd
doins samples/{kline.conf,opers.motd,ptlink.motd,help.admin,help.oper,help.user}
newins samples/example.conf.short ircd.conf
newins samples/example.conf.trillian ircd.conf.trillian
newins samples/main.dconf.sample main.dconf
newins samples/network.dconf.sample network.dconf
insinto /etc/ptlinkircd/codepage
doins src/codepage/*
dodoc doc/* doc_hybrid6/* {CHANGES,COPYING,ChangeLog,INSTALL,LICENSE,README} ircdcron/*
exeinto /etc/init.d
newexe ${FILESDIR}/ptlinkircd.rc ptlinkircd
insinto /etc/conf.d
newins ${FILESDIR}/ptlinkircd.confd ptlinkircd
}
pkg_postinst() {
einfo "Ptlinkircd will run without configuration, although this is strongly advised against."
echo
einfo "You can find example cron scripts here:"
einfo " /usr/share/doc/${PF}/ircd.cron"
echo
einfo "You can also use /etc/init.d/ptlinkircd to start at boot"
}
|