Gentoo Archives: gentoo-commits

From: Adrian Schollmeyer <nex+b-g-o@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/simpleini/
Date: Tue, 28 Sep 2021 13:43:19
Message-Id: 1632836519.71c1702bd72b77ab8ef7cceb9e27e1464fa05d5b.nex+b-g-o@gentoo
1 commit: 71c1702bd72b77ab8ef7cceb9e27e1464fa05d5b
2 Author: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
3 AuthorDate: Tue Sep 28 13:41:59 2021 +0000
4 Commit: Adrian Schollmeyer <nex+b-g-o <AT> nexadn <DOT> de>
5 CommitDate: Tue Sep 28 13:41:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71c1702b
7
8 dev-cpp/simpleini: Add new package
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Adrian Schollmeyer <nex+b-g-o <AT> nexadn.de>
12
13 dev-cpp/simpleini/Manifest | 1 +
14 dev-cpp/simpleini/metadata.xml | 8 ++++++
15 dev-cpp/simpleini/simpleini-4.17_p20210831.ebuild | 35 +++++++++++++++++++++++
16 3 files changed, 44 insertions(+)
17
18 diff --git a/dev-cpp/simpleini/Manifest b/dev-cpp/simpleini/Manifest
19 new file mode 100644
20 index 000000000..62e2bf405
21 --- /dev/null
22 +++ b/dev-cpp/simpleini/Manifest
23 @@ -0,0 +1 @@
24 +DIST simpleini-4.17_p20210831.tar.gz 60205 BLAKE2B b72ef78fa3261548188fbd5b971519b64073ea89fde11be1dbdbd850fa72295964fbe22ddd712f7651f833de4a855340e822d9332cf8c48a5ee3821b32e23dd5 SHA512 57b7ab28976fb5e1c54e613fbc9dc6a69054c210927aeba96b00348da0cae75e7ae2764ea5f4e33a842557269eff81522585187d3f1620e779900629db7f59b4
25
26 diff --git a/dev-cpp/simpleini/metadata.xml b/dev-cpp/simpleini/metadata.xml
27 new file mode 100644
28 index 000000000..9997c2e86
29 --- /dev/null
30 +++ b/dev-cpp/simpleini/metadata.xml
31 @@ -0,0 +1,8 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>nex+b-g-o@××××××.de</email>
37 + <name>Adrian Schollmeyer</name>
38 + </maintainer>
39 +</pkgmetadata>
40
41 diff --git a/dev-cpp/simpleini/simpleini-4.17_p20210831.ebuild b/dev-cpp/simpleini/simpleini-4.17_p20210831.ebuild
42 new file mode 100644
43 index 000000000..5b02a84c7
44 --- /dev/null
45 +++ b/dev-cpp/simpleini/simpleini-4.17_p20210831.ebuild
46 @@ -0,0 +1,35 @@
47 +# Copyright 2021 Gentoo Authors
48 +# Distributed under the terms of the GNU General Public License v2
49 +
50 +EAPI=8
51 +
52 +inherit toolchain-funcs
53 +
54 +SIMPLEINI_COMMIT="7bca74f6535a37846162383e52071f380c99a43a"
55 +
56 +DESCRIPTION="C++ library for reading/writing INI files"
57 +HOMEPAGE="https://github.com/brofield/simpleini"
58 +SRC_URI="https://github.com/brofield/simpleini/archive/${SIMPLEINI_COMMIT}.tar.gz -> ${P}.tar.gz"
59 +
60 +LICENSE="MIT"
61 +SLOT="0"
62 +KEYWORDS="~amd64 ~x86"
63 +
64 +DEPEND=""
65 +RDEPEND="${DEPEND}"
66 +BDEPEND=""
67 +
68 +S="${WORKDIR}/simpleini-${SIMPLEINI_COMMIT}"
69 +
70 +src_compile() {
71 + $(tc-getCC) ${CFLAGS} -c ConvertUTF.c -o ConvertUTF.o || die
72 + $(tc-getCC) -shared -fPIC ${LDFLAGS} ConvertUTF.o -o libsimpleini.so || die
73 +}
74 +
75 +src_install() {
76 + einstalldocs
77 + dolib.so libsimpleini.so
78 +
79 + insinto /usr/include/simpleini
80 + doins SimpleIni.h ConvertUTF.h
81 +}