/[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.5 - (show annotations) (download)
Sat Oct 28 14:21:50 2006 UTC (13 years, 3 months ago) by humpback
Branch: MAIN
Changes since 1.4: +2 -2 lines
......
(Portage version: 2.1.1-r1)

1 # Copyright 1999-2006 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.4 2006/10/23 22:26:39 humpback 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 insinto /etc/conf.d/
35 newins ${FILESDIR}/sobby-conf-0.2.0 sobby
36
37 exeinto /etc/init.d/
38 newexe ${FILESDIR}/sobby-init-0.2.0 sobby
39 }
40
41 pkg_postinst() {
42 if built_with_use net-libs/obby howl
43 then
44 einfo "Zeroconf support has been enabled for sobby"
45 else
46 einfo "net-libs/obby was not build with zeroconf support,"
47 einfo "thus zeroconf is not enabled for ${PN}."
48 einfo ""
49 einfo "To get zeroconf support, rebuild net-libs/obby"
50 einfo "with \"howl\" in your USE flags."
51 einfo "Try USE=\"howl\" emerge net-libs/obby net-misc/sobby,"
52 einfo "or add \"howl\" to your USE string in /etc/make.conf and"
53 einfo "emerge net-libs/obby"
54 fi
55
56 echo
57 einfo "To start sobby, you can use the init script:"
58 einfo " /etc/init.d/sobby start"
59 einfo ""
60 einfo "Please check the configuration in /etc/conf.d/sobby"
61 einfo "before you start sobby"
62 }
63

  ViewVC Help
Powered by ViewVC 1.1.20