1 |
commit: 5967400fe59bd522d803fee5ed5fb10f6c22da4b |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 10 12:45:08 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 10 12:46:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5967400f |
7 |
|
8 |
dev-libs/confuse: Version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-libs/confuse/Manifest | 1 + |
13 |
dev-libs/confuse/confuse-3.2.ebuild | 50 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/confuse/Manifest b/dev-libs/confuse/Manifest |
17 |
index c353787e07a..1c654006079 100644 |
18 |
--- a/dev-libs/confuse/Manifest |
19 |
+++ b/dev-libs/confuse/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156 |
22 |
DIST confuse-3.1.tar.xz 468248 SHA256 8171f31e0071d5e4460269fdcc8b4e748cf23b4bf6bbe672f718a136dd63ca66 SHA512 64d6b11ffd2a32108c9a6e72cab00e6a7fe792d4400e68299336e8c8cebf3c352c7a6209c18336e22aaa478b3dd3945c641c91f3af9753c8b2bf42a6be9901d8 WHIRLPOOL c0b614b46e575de3f4e72cd7efc2d15846b255a8a437051a709fc42ea382f2b47b08e411c808fbeb084b83c7d013c770e7de792c0f60c2cdc1924f9545cc87d2 |
23 |
+DIST confuse-3.2.tar.xz 470108 SHA256 a46abb8696026d314197b6a70ae1a1c296342a9a68aa69b1935709c1477a4e48 SHA512 4c81b52bca951ab46961ed91bf9e887f7940dedfb69eaf2f6905cb2d88275e635c80d2570797e4276b5cd970b805ab902da6cd6f89dc64216b0b02445c912acd WHIRLPOOL 5edf49bb58215b5694b66679c6638a16e0f9b3080f4b89b660d43329a622b9771f1403424a7eac1fccc6eaf7ffd80b1994629a09ebab3e29abda31bb902ba935 |
24 |
|
25 |
diff --git a/dev-libs/confuse/confuse-3.2.ebuild b/dev-libs/confuse/confuse-3.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..163dcf76dc4 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/confuse/confuse-3.2.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit eutils multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="a configuration file parser library" |
39 |
+HOMEPAGE="http://www.nongnu.org/confuse/" |
40 |
+SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="ISC" |
43 |
+SLOT="0/1.1.0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
45 |
+ |
46 |
+IUSE="nls static-libs" |
47 |
+ |
48 |
+DEPEND="sys-devel/flex |
49 |
+ sys-devel/libtool |
50 |
+ virtual/pkgconfig |
51 |
+ nls? ( sys-devel/gettext )" |
52 |
+RDEPEND="nls? ( virtual/libintl[${MULTILIB_USEDEP}] )" |
53 |
+ |
54 |
+DOCS=( AUTHORS ) |
55 |
+ |
56 |
+src_prepare() { |
57 |
+ eapply_user |
58 |
+ multilib_copy_sources |
59 |
+} |
60 |
+ |
61 |
+multilib_src_configure() { |
62 |
+ # examples are normally compiled but not installed. They |
63 |
+ # fail during a mingw crosscompile. |
64 |
+ local ECONF_SOURCE=${BUILD_DIR} |
65 |
+ econf \ |
66 |
+ --enable-shared \ |
67 |
+ --disable-examples \ |
68 |
+ $(use_enable nls) \ |
69 |
+ $(use_enable static-libs static) |
70 |
+} |
71 |
+ |
72 |
+multilib_src_install_all() { |
73 |
+ prune_libtool_files |
74 |
+ |
75 |
+ doman doc/man/man3/*.3 |
76 |
+ dodoc -r doc/html |
77 |
+ |
78 |
+ docinto examples |
79 |
+ dodoc examples/*.{c,conf} |
80 |
+} |