Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/conf2struct/
Date: Wed, 04 Sep 2019 13:20:46
Message-Id: 1567603234.a9be772141fc30b4d9e5c59a78a50a0617438052.candrews@gentoo
1 commit: a9be772141fc30b4d9e5c59a78a50a0617438052
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 4 13:17:55 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 4 13:20:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9be7721
7
8 dev-util/conf2struct: 1.0 version bump
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 dev-util/conf2struct/Manifest | 1 +
14 dev-util/conf2struct/conf2struct-1.0.ebuild | 32 +++++++++++++++++++++++++++++
15 2 files changed, 33 insertions(+)
16
17 diff --git a/dev-util/conf2struct/Manifest b/dev-util/conf2struct/Manifest
18 index 60764ee4874..7a4049e5bb2 100644
19 --- a/dev-util/conf2struct/Manifest
20 +++ b/dev-util/conf2struct/Manifest
21 @@ -1 +1,2 @@
22 DIST conf2struct-0_pre0.tar.gz 50851 BLAKE2B 21db6cca56ba18a48c65395fbf3def5de6190515be46ca2e7113c17c9b874cdcc7fb72b06b586c57a1803e98b56df5decd10ea1dd6dcc4144a78d6a0ff6bf9dd SHA512 e0eb1d43ec1375e65796197c16246a2cc38e0a4d078c4028e8675cc1ff6ef08c7802ec18f57232d91f2d4133573129f7a2b05a9f1d8b74bbddd072550f846b1d
23 +DIST conf2struct-1.0.tar.gz 57393 BLAKE2B 7de4be755ec764d96a321c68ca68b3156889e24f6894ba78b1c88cbeff84525331f1105040d61b1121ca01ece8d50a5aee2268eb73cde3ebbc8b62f679e2451b SHA512 31e8f350af740e79d97f4698dfec9b5e8a31a8a1cee30da0af753db26eda5b61379e9156e1cb492aef5068a4987d5e8202215323b83328e99705ae3ad3c09b81
24
25 diff --git a/dev-util/conf2struct/conf2struct-1.0.ebuild b/dev-util/conf2struct/conf2struct-1.0.ebuild
26 new file mode 100644
27 index 00000000000..b853d93f1b8
28 --- /dev/null
29 +++ b/dev-util/conf2struct/conf2struct-1.0.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="7"
35 +
36 +inherit flag-o-matic systemd toolchain-funcs
37 +
38 +DESCRIPTION="Create C parsers for libconfig and command-line"
39 +HOMEPAGE="https://github.com/yrutschle/conf2struct/"
40 +if [[ ${PV} == "9999" ]] ; then
41 + EGIT_REPO_URI="https://github.com/yrutschle/conf2struct.git"
42 + inherit git-r3
43 +else
44 + KEYWORDS="~amd64"
45 + SRC_URI="https://github.com/yrutschle/conf2struct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +fi
47 +
48 +LICENSE="BSD-2"
49 +SLOT="0"
50 +IUSE=""
51 +
52 +RDEPEND="dev-libs/libconfig
53 + dev-perl/Conf-Libconfig"
54 +DEPEND="${RDEPEND}"
55 +
56 +src_compile(){
57 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
58 +}
59 +
60 +src_install(){
61 + emake DESTDIR="${D}" prefix="${EPREFIX%/}/usr" install
62 +}