diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-31 13:43:35 +0000 |
commit | 2891d29af8907ce881662f4a02844926d7a293c7 (patch) | |
tree | 56979d96839d0827aa52008b81b746b4934d88df /net-mail/lbdb/lbdb-0.47.ebuild | |
parent | de49812990871e1705b64051c35161d5e6400269 (diff) |
gentoo resync : 31.12.2018
Diffstat (limited to 'net-mail/lbdb/lbdb-0.47.ebuild')
-rw-r--r-- | net-mail/lbdb/lbdb-0.47.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-mail/lbdb/lbdb-0.47.ebuild b/net-mail/lbdb/lbdb-0.47.ebuild new file mode 100644 index 000000000000..c5adc17be89a --- /dev/null +++ b/net-mail/lbdb/lbdb-0.47.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${P/-/_} +DESCRIPTION="Little Brother database" +HOMEPAGE="https://www.spinnaker.de/lbdb/" +SRC_URI="https://www.spinnaker.de/lbdb/download/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="GPL-2" +IUSE="abook bbdb crypt evo finger ldap pda test" + +CDEPEND="dev-libs/libvformat + evo? ( mail-client/evolution ) + finger? ( net-misc/netkit-fingerd ) + abook? ( app-misc/abook ) + crypt? ( app-crypt/gnupg )" +DEPEND="${CDEPEND} + test? ( + dev-perl/Palm + dev-perl/perl-ldap + )" +RDEPEND="${CDEPEND} + bbdb? ( app-emacs/bbdb ) + pda? ( dev-perl/Palm ) + ldap? ( dev-perl/perl-ldap )" + +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="${EPREFIX}/usr/libexec/evolution/$(ver_cut 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="${EPREFIX}"/usr/$(get_libdir)/lbdb +} + +src_install () { + emake install_prefix="${D}" install + dodoc README TODO debian/changelog +} |