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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Apr 29 17:55:26 2007 UTC (12 years, 8 months ago) by tove
Branch: MAIN
Changes since 1.6: +4 -7 lines
Fix *initd, *confd and *envd calls (#173884, #174266)
(Portage version: 2.1.2.5)

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.3.0.ebuild,v 1.6 2006/10/28 14:46:08 mabi Exp $
4
5 inherit eutils
6
7 #MY_P=${P/_rc/rc}
8 #S=${WORKDIR}/${MY_P}
9
10 DESCRIPTION="Standalone Obby server"
11 HOMEPAGE="http://darcs.0x539.de/gobby"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE=""
16 SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
17
18 DEPEND=">=dev-cpp/glibmm-2.6
19 >=dev-libs/libsigc++-2.0
20 >=dev-libs/gmp-4.1.4
21 >=net-libs/obby-0.3.0
22 dev-util/pkgconfig"
23
24 RDEPEND=""
25
26 src_compile() {
27 econf || die "./configure failed"
28 emake || die "make failed"
29 }
30
31 src_install() {
32 make DESTDIR=${D} install || die
33
34 newconfd ${FILESDIR}/sobby-conf-0.2.0 sobby
35 newinitd ${FILESDIR}/sobby-init-0.2.0 sobby
36 }
37
38 pkg_postinst() {
39 if built_with_use net-libs/obby howl
40 then
41 einfo "Zeroconf support has been enabled for sobby"
42 else
43 einfo "net-libs/obby was not build with zeroconf support,"
44 einfo "thus zeroconf is not enabled for ${PN}."
45 einfo ""
46 einfo "To get zeroconf support, rebuild net-libs/obby"
47 einfo "with \"howl\" in your USE flags."
48 einfo "Try USE=\"howl\" emerge net-libs/obby net-misc/sobby,"
49 einfo "or add \"howl\" to your USE string in /etc/make.conf and"
50 einfo "emerge net-libs/obby"
51 fi
52
53 echo
54 einfo "To start sobby, you can use the init script:"
55 einfo " /etc/init.d/sobby start"
56 einfo ""
57 einfo "Please check the configuration in /etc/conf.d/sobby"
58 einfo "before you start sobby"
59 }
60

  ViewVC Help
Powered by ViewVC 1.1.20