/[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.3 - (hide annotations) (download)
Mon Jan 23 14:26:49 2006 UTC (14 years ago) by wolf31o2
Branch: MAIN
Changes since 1.2: +2 -2 lines
Marking stable on x86 wrt bug #115113.
(Portage version: 2.1_pre3-r1)

1 blubb 1.2 # Copyright 1999-2006 Gentoo Foundation
2 humpback 1.1 # Distributed under the terms of the GNU General Public License v2
3 wolf31o2 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sobby/sobby-0.3.0.ebuild,v 1.2 2006/01/23 14:13:59 blubb 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 wolf31o2 1.3 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     >=net-libs/obby-0.3.0"
22    
23     RDEPEND=""
24    
25     src_compile() {
26     econf || die "./configure failed"
27     emake || die "make failed"
28     }
29    
30     src_install() {
31     make DESTDIR=${D} install || die
32    
33     insinto /etc/conf.d/
34     newins ${FILESDIR}/sobby-conf-0.2.0 sobby
35    
36     exeinto /etc/init.d/
37     newexe ${FILESDIR}/sobby-init-0.2.0 sobby
38     }
39    
40     pkg_postinst() {
41     if built_with_use net-libs/obby howl
42     then
43     einfo "Zeroconf support has been enabled for sobby"
44     else
45     einfo "net-libs/obby was not build with zeroconf support,"
46     einfo "thus zeroconf is not enabled for ${PN}."
47     einfo ""
48     einfo "To get zeroconf support, rebuild net-libs/obby"
49     einfo "with \"howl\" in your USE flags."
50     einfo "Try USE=\"howl\" emerge net-libs/obby net-misc/sobby,"
51     einfo "or add \"howl\" to your USE string in /etc/make.conf and"
52     einfo "emerge net-libs/obby"
53     fi
54    
55     echo
56     einfo "To start sobby, you can use the init script:"
57     einfo " /etc/init.d/sobby start"
58     einfo ""
59     einfo "Please check the configuration in /etc/conf.d/sobby"
60     einfo "before you start sobby"
61     }
62    

  ViewVC Help
Powered by ViewVC 1.1.20