blob: 71c95d9f767da341faa107c311e045859233a3f5 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/mserver-0.5.5-r1.ebuild,v 1.5 2003/10/11 18:56:20 lanius Exp $
DESCRIPTION="Daemon that provides control of dial-up links to other PCs on the LAN"
HOMEPAGE="http://cpwright.com/mserver/"
SRC_URI="http://cpwright.com/mserver/download/c-${P}.tar.gz"
S=${WORKDIR}/${P}
IUSE=""
DEPEND="sys-libs/pam"
RDEPEND="net-dialup/ppp"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
src_unpack() {
unpack c-${P}.tar.gz
epatch ${FILESDIR}/${P}-errno.patch
}
src_compile() {
econf \
--sysconfdir=/etc \
--localstatedir=/var || die
emake || die
}
src_install() {
dosbin mserver/mserver mchat/mchat authgen/authgen checkstat/checkstat
doman mchat/mchat.8
dodoc mserver/PROTOCOL README docs/index.html
newdoc mchat/README README.mchat
docinto images
dodoc docs/images/*.gif docs/images/*.jpg
#prepalldocs
insinto /etc
newins mserver/mserver.conf mserver.conf.dist
insinto /etc/pam.d
doins pam/mserver
exeinto /etc/init.d
newexe ${FILESDIR}/mserver-init mserver
}
|