/[gentoo-x86]/net-misc/sobby/sobby-0.4.8.ebuild
Gentoo

Contents of /net-misc/sobby/sobby-0.4.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jun 8 12:14:32 2012 UTC (2 years, 1 month ago) by phajdan.jr
Branch: MAIN
Changes since 1.4: +2 -2 lines
x86 stable wrt bug #419319

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.4.8.ebuild,v 1.4 2012/06/07 20:57:14 ranger Exp $
4
5 EAPI=4
6
7 inherit eutils
8
9 DESCRIPTION="Standalone Obby server"
10 HOMEPAGE="http://gobby.0x539.de/"
11 SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="avahi"
16
17 RDEPEND=">=dev-cpp/glibmm-2.6
18 >=dev-libs/libsigc++-2.0
19 >=dev-libs/gmp-4.1.4
20 >=dev-cpp/libxmlpp-2.6
21 >=net-libs/net6-1.3.12
22 >=net-libs/obby-0.4.6[avahi=]"
23 DEPEND="${RDEPEND}
24 virtual/pkgconfig"
25
26 pkg_setup() {
27 enewgroup sobby
28 enewuser sobby -1 -1 /var/lib/sobby sobby
29 }
30
31 src_configure() {
32 econf $(use_enable avahi zeroconf)
33 }
34
35 src_install() {
36 default
37
38 newconfd "${FILESDIR}/${PN}-conf-0.4.7" sobby
39 newinitd "${FILESDIR}/${PN}-init-0.4.7" sobby
40
41 insinto /etc/sobby
42 doins "${FILESDIR}/sobby.xml"
43
44 keepdir /var/lib/sobby
45
46 fperms -R 0700 /var/lib/sobby
47 fperms -R 0700 /etc/sobby
48
49 fowners sobby:sobby /var/lib/sobby
50 fowners -R sobby:sobby /etc/sobby
51 }
52
53 pkg_postinst() {
54 elog "To start sobby, you can use the init script:"
55 elog " /etc/init.d/sobby start"
56 elog ""
57 elog "Please check the configuration in /etc/sobby/sobby.xml"
58 elog "before you start sobby"
59 }

  ViewVC Help
Powered by ViewVC 1.1.20