/[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.8 - (hide annotations) (download)
Mon Jun 8 18:17:09 2015 UTC (4 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Move to ~ppc

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 pacho 1.8 # Copyright 1999-2015 Gentoo Foundation
2 xarthisius 1.1 # Distributed under the terms of the GNU General Public License v2
3 pacho 1.8 # $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.4.8.ebuild,v 1.7 2014/06/22 18:44:33 maekke Exp $
4 xarthisius 1.1
5     EAPI=4
6    
7 vapier 1.6 inherit eutils user
8 xarthisius 1.1
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 pacho 1.8 KEYWORDS="amd64 ~arm ~ppc x86"
15 xarthisius 1.1 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 jdhore 1.2 virtual/pkgconfig"
25 xarthisius 1.1
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