summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-07-20 09:49:27 -0400
committerCraig Andrews <candrews@gentoo.org>2020-07-20 09:51:52 -0400
commitc423f817d79548889ee0e1834f4afe48e77c00ae (patch)
treec7f255bd75ad41e610fa245c4b1cfbaa56feb94c /dev-util/conf2struct
parentsys-libs/libcap: Removed old (diff)
downloadgentoo-c423f817d79548889ee0e1834f4afe48e77c00ae.tar.gz
gentoo-c423f817d79548889ee0e1834f4afe48e77c00ae.tar.bz2
gentoo-c423f817d79548889ee0e1834f4afe48e77c00ae.zip
dev-util/conf2struct: 1.3 version bump
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util/conf2struct')
-rw-r--r--dev-util/conf2struct/Manifest1
-rw-r--r--dev-util/conf2struct/conf2struct-1.3.ebuild32
-rw-r--r--dev-util/conf2struct/conf2struct-9999.ebuild2
3 files changed, 34 insertions, 1 deletions
diff --git a/dev-util/conf2struct/Manifest b/dev-util/conf2struct/Manifest
index cd4a46a636d..b4e7f3e69be 100644
--- a/dev-util/conf2struct/Manifest
+++ b/dev-util/conf2struct/Manifest
@@ -1 +1,2 @@
DIST conf2struct-1.0.tar.gz 57393 BLAKE2B 7de4be755ec764d96a321c68ca68b3156889e24f6894ba78b1c88cbeff84525331f1105040d61b1121ca01ece8d50a5aee2268eb73cde3ebbc8b62f679e2451b SHA512 31e8f350af740e79d97f4698dfec9b5e8a31a8a1cee30da0af753db26eda5b61379e9156e1cb492aef5068a4987d5e8202215323b83328e99705ae3ad3c09b81
+DIST conf2struct-1.3.tar.gz 58599 BLAKE2B 19cd7beb2663342d1d0e282c2ce45557f97110edec02eb1a9e29f92aceedd5837175a0898655ae403f8992d2754dc5094dc5c3c85014b109b066703956c9ec6c SHA512 eae91f85e44905fdc4274c0cc090a0748ded15824b87cdc3d026ec849d1cb13d14fb9b1bfb57d76da4687173d106065263499c1705db24f53ad4e95ba1d96b3c
diff --git a/dev-util/conf2struct/conf2struct-1.3.ebuild b/dev-util/conf2struct/conf2struct-1.3.ebuild
new file mode 100644
index 00000000000..6891ffd1b8b
--- /dev/null
+++ b/dev-util/conf2struct/conf2struct-1.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 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 ~s390 ~x86"
+ 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
+}
diff --git a/dev-util/conf2struct/conf2struct-9999.ebuild b/dev-util/conf2struct/conf2struct-9999.ebuild
index 683376de085..6891ffd1b8b 100644
--- a/dev-util/conf2struct/conf2struct-9999.ebuild
+++ b/dev-util/conf2struct/conf2struct-9999.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/yrutschle/conf2struct.git"
inherit git-r3
else
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~s390 ~x86"
SRC_URI="https://github.com/yrutschle/conf2struct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi