1 |
commit: 3a631804f92353fac15ab05d4a67d009139314c0 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 12:15:40 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 12:20:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a631804 |
7 |
|
8 |
dev-libs/inih: Revbump introducing "static-libs" USE flag |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/inih/inih-52-r1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/inih/inih-52-r1.ebuild b/dev-libs/inih/inih-52-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..59b118e7afe |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/inih/inih-52-r1.ebuild |
21 |
@@ -0,0 +1,45 @@ |
22 |
+# Copyright 2020-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+inherit meson multilib-minimal |
28 |
+ |
29 |
+DESCRIPTION="inih (INI not invented here) simple .INI file parser" |
30 |
+HOMEPAGE="https://github.com/benhoyt/inih" |
31 |
+ |
32 |
+SRC_URI="https://github.com/benhoyt/inih/archive/r${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
34 |
+ |
35 |
+LICENSE="BSD" |
36 |
+SLOT="0" |
37 |
+ |
38 |
+IUSE="static-libs" |
39 |
+ |
40 |
+S="${WORKDIR}/inih-r${PV}" |
41 |
+ |
42 |
+multilib_src_configure() { |
43 |
+ local emesonargs=( |
44 |
+ -Ddefault_library=$(usex static-libs both shared) |
45 |
+ -Ddistro_install=true |
46 |
+ -Dwith_INIReader=true |
47 |
+ ) |
48 |
+ |
49 |
+ meson_src_configure |
50 |
+} |
51 |
+ |
52 |
+multilib_src_compile() { |
53 |
+ meson_src_compile |
54 |
+} |
55 |
+ |
56 |
+multilib_src_install() { |
57 |
+ meson_src_install |
58 |
+} |
59 |
+ |
60 |
+multilib_src_install_all() { |
61 |
+ local DOCS=( |
62 |
+ LICENSE.txt |
63 |
+ README.md |
64 |
+ ) |
65 |
+ einstalldocs |
66 |
+} |