/[gentoo-x86]/net-libs/libinfinity/libinfinity-0.5.4.ebuild
Gentoo

Contents of /net-libs/libinfinity/libinfinity-0.5.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 10 20:49:20 2014 UTC (6 years, 3 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libinfinity/libinfinity-0.5.4.ebuild,v 1.1 2013/07/21 08:39:02 xarthisius Exp $
4
5 EAPI=4
6
7 inherit autotools-utils eutils versionator user
8
9 MY_PV=$(get_version_component_range 1-2)
10
11 DESCRIPTION="An implementation of the Infinote protocol written in GObject-based C"
12 HOMEPAGE="http://gobby.0x539.de/"
13 SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
14 LICENSE="LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="avahi doc gtk server static-libs"
18
19 RDEPEND="dev-libs/glib:2
20 dev-libs/libxml2
21 net-libs/gnutls
22 sys-libs/pam
23 virtual/gsasl
24 avahi? ( net-dns/avahi )
25 gtk? ( x11-libs/gtk+:3 )"
26 DEPEND="${RDEPEND}
27 virtual/pkgconfig
28 sys-devel/gettext
29 doc? ( dev-util/gtk-doc )"
30
31 DOCS=(AUTHORS NEWS README TODO)
32
33 pkg_setup() {
34 if use server ; then
35 enewgroup infinote 100
36 enewuser infinote 100 /bin/bash /var/lib/infinote infinote
37 fi
38 }
39
40 src_configure() {
41 local myeconfargs=(
42 $(use_enable doc gtk-doc)
43 $(use_with gtk inftextgtk)
44 $(use_with gtk infgtk)
45 $(use_with gtk gtk3)
46 $(use_with server infinoted)
47 $(use_with avahi)
48 $(use_with avahi libdaemon)
49 )
50 autotools-utils_src_configure
51 }
52
53 src_install() {
54 autotools-utils_src_install
55
56 if use server ; then
57 newinitd "${FILESDIR}/infinoted.initd" infinoted
58 newconfd "${FILESDIR}/infinoted.confd" infinoted
59
60 keepdir /var/lib/infinote
61 fowners infinote:infinote /var/lib/infinote
62 fperms 770 /var/lib/infinote
63
64 dosym /usr/bin/infinoted-${MY_PV} /usr/bin/infinoted
65
66 elog "Add local users who should have local access to the documents"
67 elog "created by infinoted to the infinote group."
68 elog "The documents are saved in /var/lib/infinote per default."
69 fi
70 }

  ViewVC Help
Powered by ViewVC 1.1.20