diff options
author | 2016-04-04 12:43:37 +0900 | |
---|---|---|
committer | 2016-04-04 12:43:37 +0900 | |
commit | fea44110f288641aa0b4efde33ff2043bbde973e (patch) | |
tree | f57bb8a21b1fcbe3d6cc3866fc8767163c005380 /net-libs/libinfinity/libinfinity-0.6.7.ebuild | |
parent | dev-db/postgresql: Stable for HPPA PPC64 (bug #578680). (diff) | |
download | gentoo-fea44110f288641aa0b4efde33ff2043bbde973e.tar.gz gentoo-fea44110f288641aa0b4efde33ff2043bbde973e.tar.bz2 gentoo-fea44110f288641aa0b4efde33ff2043bbde973e.zip |
net-libs/libinfinity: bump version and EAPI per bug 550126
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-libs/libinfinity/libinfinity-0.6.7.ebuild')
-rw-r--r-- | net-libs/libinfinity/libinfinity-0.6.7.ebuild | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/net-libs/libinfinity/libinfinity-0.6.7.ebuild b/net-libs/libinfinity/libinfinity-0.6.7.ebuild new file mode 100644 index 000000000000..bbc0a6ebc0ba --- /dev/null +++ b/net-libs/libinfinity/libinfinity-0.6.7.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools-utils eutils versionator user + +MY_PV=$(get_version_component_range 1-2) + +DESCRIPTION="An implementation of the Infinote protocol written in GObject-based C" +HOMEPAGE="http://gobby.0x539.de/" +SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="avahi doc gtk server static-libs" + +RDEPEND="dev-libs/glib:2 + dev-libs/libxml2 + net-libs/gnutls + sys-libs/pam + virtual/gsasl + avahi? ( net-dns/avahi ) + gtk? ( x11-libs/gtk+:3 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/gettext + doc? ( dev-util/gtk-doc )" + +DOCS=(AUTHORS NEWS README.md TODO) + +pkg_setup() { + if use server ; then + enewgroup infinote 100 + enewuser infinote 100 /bin/bash /var/lib/infinote infinote + fi +} + +src_configure() { + local myeconfargs=( + $(use_enable doc gtk-doc) + $(use_with gtk inftextgtk) + $(use_with gtk infgtk) + $(use_with gtk gtk3) + $(use_with server infinoted) + $(use_with avahi) + $(use_with avahi libdaemon) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + if use server ; then + newinitd "${FILESDIR}/infinoted.initd" infinoted + newconfd "${FILESDIR}/infinoted.confd" infinoted + + keepdir /var/lib/infinote + fowners infinote:infinote /var/lib/infinote + fperms 770 /var/lib/infinote + + dosym /usr/bin/infinoted-${MY_PV} /usr/bin/infinoted + + elog "Add local users who should have local access to the documents" + elog "created by infinoted to the infinote group." + elog "The documents are saved in /var/lib/infinote per default." + fi +} |