/[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.1 - (hide annotations) (download)
Fri Dec 9 18:45:17 2005 UTC (14 years, 1 month ago) by humpback
Branch: MAIN
bump
(Portage version: 2.0.53_rc7)

1 humpback 1.1 # Copyright 1999-2005 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_rc1.ebuild,v 1.1 2005/11/20 00:24:50 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="~x86 ~ppc ~amd64"
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    
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