1 |
commit: 929c3aa7c2f4b46e0b3aa872c784e8181e543bd0 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 5 19:00:09 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 5 19:26:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929c3aa7 |
7 |
|
8 |
dev-libs/libgpg-error: 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/libgpg-error/libgpg-error-1.32-r1.ebuild | 47 +++++++++++++++++++++++ |
14 |
1 file changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..054a4649584 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libgpg-error/libgpg-error-1.32-r1.ebuild |
21 |
@@ -0,0 +1,47 @@ |
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 multilib-minimal toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="Contains error handling functions used by GnuPG software" |
30 |
+HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error" |
31 |
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
32 |
+ |
33 |
+LICENSE="GPL-2 LGPL-2.1" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
36 |
+IUSE="common-lisp nls static-libs" |
37 |
+ |
38 |
+RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" |
39 |
+DEPEND="${RDEPEND}" |
40 |
+BDEPEND="nls? ( sys-devel/gettext )" |
41 |
+ |
42 |
+MULTILIB_CHOST_TOOLS=( |
43 |
+ /usr/bin/gpg-error-config |
44 |
+) |
45 |
+MULTILIB_WRAPPED_HEADERS=( |
46 |
+ /usr/include/gpg-error.h |
47 |
+ /usr/include/gpgrt.h |
48 |
+) |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ elibtoolize |
53 |
+} |
54 |
+ |
55 |
+multilib_src_configure() { |
56 |
+ ECONF_SOURCE="${S}" econf \ |
57 |
+ $(multilib_is_native_abi || echo --disable-languages) \ |
58 |
+ $(use_enable common-lisp languages) \ |
59 |
+ $(use_enable nls) \ |
60 |
+ $(use_enable static-libs static) \ |
61 |
+ --enable-threads \ |
62 |
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" |
63 |
+} |
64 |
+ |
65 |
+multilib_src_install_all() { |
66 |
+ einstalldocs |
67 |
+ find "${D}" -name '*.la' -delete || die |
68 |
+} |