diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-12-23 11:24:41 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-12-23 11:58:40 +0100 |
commit | 7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9 (patch) | |
tree | 2204f7c83d185c81c3f85c0c2bdb2f692b998ccc /net-misc/sobby | |
parent | app-editors/gobby: Fix building with latest glibmm/libsigc++, use USE zerocon... (diff) | |
download | gentoo-7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9.tar.gz gentoo-7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9.tar.bz2 gentoo-7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9.zip |
net-misc/sobby: Fix building with latest glibmm/libsigc++, use USE zeroconf instead of avahi (#477620)
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc/sobby')
-rw-r--r-- | net-misc/sobby/sobby-0.4.8-r1.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/net-misc/sobby/sobby-0.4.8-r1.ebuild b/net-misc/sobby/sobby-0.4.8-r1.ebuild new file mode 100644 index 000000000000..3887a14f65f5 --- /dev/null +++ b/net-misc/sobby/sobby-0.4.8-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic user + +DESCRIPTION="Standalone Obby server" +HOMEPAGE="http://gobby.0x539.de/" +SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="zeroconf" + +RDEPEND=" + >=dev-cpp/glibmm-2.6 + >=dev-libs/libsigc++-2.0 + >=dev-libs/gmp-4.1.4 + >=dev-cpp/libxmlpp-2.6 + >=net-libs/net6-1.3.12 + >=net-libs/obby-0.4.6[zeroconf=] +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +pkg_setup() { + enewgroup sobby + enewuser sobby -1 -1 /var/lib/sobby sobby +} + +src_configure() { + append-cxxflags -std=c++11 + econf $(use_enable zeroconf) +} + +src_install() { + default + + newconfd "${FILESDIR}/${PN}-conf-0.4.7" sobby + newinitd "${FILESDIR}/${PN}-init-0.4.7" sobby + + insinto /etc/sobby + doins "${FILESDIR}/sobby.xml" + + keepdir /var/lib/sobby + + fperms -R 0700 /var/lib/sobby + fperms -R 0700 /etc/sobby + + fowners sobby:sobby /var/lib/sobby + fowners -R sobby:sobby /etc/sobby +} + +pkg_postinst() { + elog "To start sobby, you can use the init script:" + elog " /etc/init.d/sobby start" + elog "" + elog "Please check the configuration in /etc/sobby/sobby.xml" + elog "before you start sobby" +} |