summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2016-01-05 17:08:50 +0200
committerEray Aslan <eras@gentoo.org>2016-01-05 17:08:50 +0200
commit18216e3146fbbbb41072990e723b41393bc13ab3 (patch)
tree98116dab1e7cc755bf2abf0f51cf1f3b967163af /net-mail/lbdb
parentapp-emulation/xen-pvgrub: x86 stable wrt bug #570932 (diff)
downloadgentoo-18216e3146fbbbb41072990e723b41393bc13ab3.tar.gz
gentoo-18216e3146fbbbb41072990e723b41393bc13ab3.tar.bz2
gentoo-18216e3146fbbbb41072990e723b41393bc13ab3.zip
net-mail/lbdb: remove nis support (#570726)
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-mail/lbdb')
-rw-r--r--net-mail/lbdb/lbdb-0.39-r1.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/net-mail/lbdb/lbdb-0.39-r1.ebuild b/net-mail/lbdb/lbdb-0.39-r1.ebuild
new file mode 100644
index 000000000000..54bc2d6ddb22
--- /dev/null
+++ b/net-mail/lbdb/lbdb-0.39-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator
+
+MY_P=${P/-/_}
+DESCRIPTION="Little Brother database"
+SRC_URI="http://www.spinnaker.de/debian/${MY_P}.tar.gz"
+HOMEPAGE="http://www.spinnaker.de/lbdb/"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="GPL-2"
+IUSE="pda ldap finger nis abook crypt evo"
+
+DEPEND="dev-libs/libvformat
+ evo? ( mail-client/evolution )
+ finger? ( net-misc/netkit-fingerd )
+ abook? ( app-misc/abook )
+ crypt? ( app-crypt/gnupg )"
+RDEPEND="${DEPEND}
+ pda? ( dev-perl/p5-Palm )
+ ldap? ( dev-perl/perl-ldap )"
+# Bug 570726
+REQUIRED_USE="!nis"
+
+src_configure() {
+ local evoversion
+ local evolution_addressbook_export
+
+ if use evo ; then
+ evoversion=$(best_version mail-client/evolution)
+ evoversion=${evoversion##mail-client/evolution-}
+ evolution_addressbook_export="/usr/libexec/evolution/$(get_version_component_range 1-2 ${evoversion})/evolution-addressbook-export"
+ fi
+
+ econf $(use_with finger) \
+ $(use_with abook) \
+ --without-ypcat \
+ $(use_with crypt gpg) \
+ $(use_with evo evolution-addressbook-export "${evolution_addressbook_export}" ) \
+ --enable-lbdb-dotlock \
+ --without-pgpk --without-pgp \
+ --without-niscat --without-addr-email --with-getent \
+ --libdir=/usr/$(get_libdir)/lbdb
+}
+
+src_install () {
+ emake install_prefix="${D}" install
+ dodoc README TODO debian/changelog
+}