blob: ce4e8e8f322bd920698b51b02a17fbe555c212d9 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="Standalone Obby server"
HOMEPAGE="http://gobby.0x539.de/"
SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
IUSE="zeroconf"
DEPEND="
>=dev-cpp/glibmm-2.6:2
>=dev-libs/libsigc++-2.0:2
>=dev-libs/gmp-4.1.4:0
>=dev-cpp/libxmlpp-2.6:2.6
>=net-libs/net6-1.3.12
>=net-libs/obby-0.4.6[zeroconf=]
"
RDEPEND="${DEPEND}
acct-group/sobby
acct-user/sobby
"
BDEPEND="
acct-group/sobby
acct-user/sobby
virtual/pkgconfig
"
src_configure() {
append-cxxflags -std=c++11
econf $(use_enable zeroconf)
}
src_install() {
default
newconfd "${FILESDIR}/${PN}-conf-0.4.7" sobby
newinitd "${FILESDIR}/${PN}-init-0.4.7" sobby
insinto /etc/sobby
doins "${FILESDIR}/sobby.xml"
fperms -R 0700 /etc/sobby
fowners -R sobby:sobby /etc/sobby
}
pkg_postinst() {
elog "To start sobby, you can use the init script:"
elog " /etc/init.d/sobby start"
elog ""
elog "Please check the configuration in /etc/sobby/sobby.xml"
elog "before you start sobby"
}
|