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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 21 12:32:34 2007 UTC (12 years, 3 months ago) by dev-zero
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Added inherit eutils (bug #189691), version bump.
(Portage version: 2.1.3.6)

1 # Copyright 1999-2007 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.3.ebuild,v 1.1 2007/08/18 23:00:42 dev-zero Exp $
4
5 DESCRIPTION="Standalone Obby server"
6 HOMEPAGE="http://gobby.0x539.de/"
7 SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
8 LICENSE="GPL-2"
9 SLOT="0"
10 KEYWORDS="~amd64 ~ppc ~x86"
11 IUSE="avahi"
12
13 RDEPEND=">=dev-cpp/glibmm-2.6
14 >=dev-libs/libsigc++-2.0
15 >=dev-libs/gmp-4.1.4
16 >=dev-cpp/libxmlpp-2.6
17 >=net-libs/obby-0.4.3"
18 DEPEND="dev-util/pkgconfig"
19
20 pkg_setup() {
21 if use avahi && ! built_with_use net-libs/obby avahi ; then
22 eerror "Please reinstall net-libs/obby with the avahi USE-flag enabled"
23 eerror "for zeroconf/DNS-SD support or disable it for this package."
24 die "Missing 'avahi' USE-flag for net-libs/obby"
25 fi
26 }
27
28 src_compile() {
29 econf \
30 $(use_enable avahi zeroconf) \
31 || die "econf failed"
32 emake || die "emake failed"
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die "emake install failed"
37
38 dodoc AUTHORS ChangeLog NEWS README
39
40 newconfd "${FILESDIR}/sobby-conf-0.4.3" sobby
41 newinitd "${FILESDIR}/sobby-init-0.4.3" sobby
42 }
43
44 pkg_postinst() {
45 elog "To start sobby, you can use the init script:"
46 elog " /etc/init.d/sobby start"
47 elog ""
48 elog "Please check the configuration in /etc/conf.d/sobby"
49 elog "before you start sobby"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20