/[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.8 - (hide annotations) (download)
Thu Jul 12 02:52:15 2007 UTC (12 years, 6 months ago) by mr_bones_
Branch: MAIN
Changes since 1.7: +1 -2 lines
whitespace
(Portage version: 2.1.2.9)

1 tove 1.7 # Copyright 1999-2007 Gentoo Foundation
2 humpback 1.1 # Distributed under the terms of the GNU General Public License v2
3 mr_bones_ 1.8 # $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.3.0.ebuild,v 1.7 2007/04/29 17:55:26 tove Exp $
4 humpback 1.1
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 mabi 1.6 KEYWORDS="amd64 ppc x86"
15 humpback 1.1 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 humpback 1.4 >=net-libs/obby-0.3.0
22 humpback 1.5 dev-util/pkgconfig"
23 humpback 1.1
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 tove 1.7 newconfd ${FILESDIR}/sobby-conf-0.2.0 sobby
35     newinitd ${FILESDIR}/sobby-init-0.2.0 sobby
36 humpback 1.1 }
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     }

  ViewVC Help
Powered by ViewVC 1.1.20