Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild,v 1.1 2005/11/19 18:20:08 chainsaw Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/ventrilo-server-bin/ventrilo-server-bin-2.3.1.ebuild,v 1.1 2005/11/19 18:20:08 chainsaw Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
IUSE="" |
7 |
IUSE="" |
6 |
DESCRIPTION="The Ventrilo Voice Communication Server" |
8 |
DESCRIPTION="The Ventrilo Voice Communication Server" |
7 |
HOMEPAGE="http://www.ventrilo.com/" |
9 |
HOMEPAGE="http://www.ventrilo.com/" |
Lines 22-27
Link Here
|
22 |
einfo "Just save it in ${DISTDIR} !" |
24 |
einfo "Just save it in ${DISTDIR} !" |
23 |
} |
25 |
} |
24 |
|
26 |
|
|
|
27 |
pkg_setup() { |
28 |
enewuser ventrilo |
29 |
} |
30 |
|
25 |
src_install() { |
31 |
src_install() { |
26 |
exeinto /opt/ventrilo-server |
32 |
exeinto /opt/ventrilo-server |
27 |
doexe ventrilo_{srv,status} |
33 |
doexe ventrilo_{srv,status} |
Lines 36-39
Link Here
|
36 |
doins ventrilo_srv.ini |
42 |
doins ventrilo_srv.ini |
37 |
|
43 |
|
38 |
dohtml ventrilo_srv.htm |
44 |
dohtml ventrilo_srv.htm |
|
|
45 |
|
46 |
keepdir /var/{run,log} |
47 |
touch ${D}/var/run/ventrilo_srv.pid |
48 |
fowners ventrilo /var/run/ventrilo_srv.pid |
49 |
fperms 644 /var/run/ventrilo_srv.pid |
50 |
dosym /var/run/ventrilo_srv.pid /opt/ventrilo-server/ventrilo_srv.pid |
51 |
|
52 |
touch ${D}/var/log/ventrilo |
53 |
fowners ventrilo /var/log/ventrilo |
54 |
fperms 600 /var/log/ventrilo |
55 |
dosym /var/log/ventrilo /opt/ventrilo-server/ventrilo_srv.log |
39 |
} |
56 |
} |