commit:     a9be772141fc30b4d9e5c59a78a50a0617438052
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  4 13:17:55 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 13:20:34 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9be7721

dev-util/conf2struct: 1.0 version bump

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 dev-util/conf2struct/Manifest               |  1 +
 dev-util/conf2struct/conf2struct-1.0.ebuild | 32 +++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/dev-util/conf2struct/Manifest b/dev-util/conf2struct/Manifest
index 60764ee4874..7a4049e5bb2 100644
--- a/dev-util/conf2struct/Manifest
+++ b/dev-util/conf2struct/Manifest
@@ -1 +1,2 @@
 DIST conf2struct-0_pre0.tar.gz 50851 BLAKE2B 
21db6cca56ba18a48c65395fbf3def5de6190515be46ca2e7113c17c9b874cdcc7fb72b06b586c57a1803e98b56df5decd10ea1dd6dcc4144a78d6a0ff6bf9dd
 SHA512 
e0eb1d43ec1375e65796197c16246a2cc38e0a4d078c4028e8675cc1ff6ef08c7802ec18f57232d91f2d4133573129f7a2b05a9f1d8b74bbddd072550f846b1d
+DIST conf2struct-1.0.tar.gz 57393 BLAKE2B 
7de4be755ec764d96a321c68ca68b3156889e24f6894ba78b1c88cbeff84525331f1105040d61b1121ca01ece8d50a5aee2268eb73cde3ebbc8b62f679e2451b
 SHA512 
31e8f350af740e79d97f4698dfec9b5e8a31a8a1cee30da0af753db26eda5b61379e9156e1cb492aef5068a4987d5e8202215323b83328e99705ae3ad3c09b81

diff --git a/dev-util/conf2struct/conf2struct-1.0.ebuild 
b/dev-util/conf2struct/conf2struct-1.0.ebuild
new file mode 100644
index 00000000000..b853d93f1b8
--- /dev/null
+++ b/dev-util/conf2struct/conf2struct-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit flag-o-matic systemd toolchain-funcs
+
+DESCRIPTION="Create C parsers for libconfig and command-line"
+HOMEPAGE="https://github.com/yrutschle/conf2struct/";
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="https://github.com/yrutschle/conf2struct.git";
+       inherit git-r3
+else
+       KEYWORDS="~amd64"
+       SRC_URI="https://github.com/yrutschle/conf2struct/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-libs/libconfig
+       dev-perl/Conf-Libconfig"
+DEPEND="${RDEPEND}"
+
+src_compile(){
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install(){
+       emake DESTDIR="${D}" prefix="${EPREFIX%/}/usr" install
+}

Reply via email to