Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libassuan/
Date: Fri, 05 Oct 2018 19:27:15
Message-Id: 1538767584.266b76e601c284b58af128fe1af54029390ea98c.alonbl@gentoo
1 commit: 266b76e601c284b58af128fe1af54029390ea98c
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 5 18:47:40 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 5 19:26:24 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=266b76e6
7
8 dev-libs/libassuan: eapi bump
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
12
13 dev-libs/libassuan/libassuan-2.5.1-r1.ebuild | 44 ++++++++++++++++++++++++++++
14 1 file changed, 44 insertions(+)
15
16 diff --git a/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
17 new file mode 100644
18 index 00000000000..89882fdf05b
19 --- /dev/null
20 +++ b/dev-libs/libassuan/libassuan-2.5.1-r1.ebuild
21 @@ -0,0 +1,44 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit libtool
28 +
29 +DESCRIPTION="IPC library used by GnuPG and GPGME"
30 +HOMEPAGE="http://www.gnupg.org/related_software/libassuan/index.en.html"
31 +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
32 +
33 +LICENSE="GPL-3 LGPL-2.1"
34 +SLOT="0"
35 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
36 +IUSE="static-libs"
37 +
38 +RDEPEND=">=dev-libs/libgpg-error-1.8"
39 +DEPEND="${RDEPEND}"
40 +
41 +src_prepare() {
42 + default
43 +
44 + if [[ ${CHOST} == *-solaris* ]] ; then
45 + elibtoolize
46 +
47 + # fix standards conflict
48 + sed -i \
49 + -e '/_XOPEN_SOURCE/s/500/600/' \
50 + -e 's/_XOPEN_SOURCE_EXTENDED/_NO&/' \
51 + -e 's/__EXTENSIONS__/_NO&/' \
52 + configure || die
53 + fi
54 +}
55 +
56 +src_configure() {
57 + econf \
58 + $(use_enable static-libs static)
59 +}
60 +
61 +src_install() {
62 + default
63 + # ppl need to use libassuan-config for --cflags and --libs
64 + find "${D}" -name '*.la' -delete || die
65 +}