summaryrefslogtreecommitdiff
path: root/dev-util/conf2struct
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/conf2struct')
-rw-r--r--dev-util/conf2struct/Manifest6
-rw-r--r--dev-util/conf2struct/conf2struct-1.0.ebuild2
-rw-r--r--dev-util/conf2struct/conf2struct-1.3.ebuild32
-rw-r--r--dev-util/conf2struct/conf2struct-9999.ebuild2
4 files changed, 38 insertions, 4 deletions
diff --git a/dev-util/conf2struct/Manifest b/dev-util/conf2struct/Manifest
index aae11365dc88..a0a2b4454fc0 100644
--- a/dev-util/conf2struct/Manifest
+++ b/dev-util/conf2struct/Manifest
@@ -1,4 +1,6 @@
DIST conf2struct-1.0.tar.gz 57393 BLAKE2B 7de4be755ec764d96a321c68ca68b3156889e24f6894ba78b1c88cbeff84525331f1105040d61b1121ca01ece8d50a5aee2268eb73cde3ebbc8b62f679e2451b SHA512 31e8f350af740e79d97f4698dfec9b5e8a31a8a1cee30da0af753db26eda5b61379e9156e1cb492aef5068a4987d5e8202215323b83328e99705ae3ad3c09b81
-EBUILD conf2struct-1.0.ebuild 751 BLAKE2B 43d814e2b9bd07265a5974c254d95a848a15b7c780d45858f3f9d66b053b765f3f2b34be7e2126917ef28cef3e190e61ac138145ec6c0047399e92fcd270fd1c SHA512 52c5655293ad5b472928d0a84a85ce95af28f136c32cedfea2b887391424a25fc28f123f0b4272cfd2a1c8fdd8055cb9a3461ff6449f2cba79397c9a02cb4ff5
-EBUILD conf2struct-9999.ebuild 746 BLAKE2B 1cac7507560a809eff988eb7bf1720fb5bc855b3381d165915be5b68a94e516fbbfd3688ca31157dba989012610a31196850d7859ea4d77b99a5405971ae41ec SHA512 468ae41d680187f9682a14d7f3f1e4097565dd7784a16d25c645b201c8350f742648392519dd6db4b7df32dafc6093f994aa260e1739c6149b04c961d7560824
+DIST conf2struct-1.3.tar.gz 58599 BLAKE2B 19cd7beb2663342d1d0e282c2ce45557f97110edec02eb1a9e29f92aceedd5837175a0898655ae403f8992d2754dc5094dc5c3c85014b109b066703956c9ec6c SHA512 eae91f85e44905fdc4274c0cc090a0748ded15824b87cdc3d026ec849d1cb13d14fb9b1bfb57d76da4687173d106065263499c1705db24f53ad4e95ba1d96b3c
+EBUILD conf2struct-1.0.ebuild 757 BLAKE2B 24e56adcb215fd3a4c211ee76b244ad1e212a1bec8d8ed9a5a4458e0aec63ec02ec2dbd1efbd904e4e40ced3062ff7614a3a6105e13ebecf2cf4778fdc4e4721 SHA512 630e9c2cc4dd7a2a1dac3ac70e7d542a2c0f971bf7682d29d0f14e528e65bcdf129e510405f741c3b8c057920090cbd8b63b576778a300080693a113345da941
+EBUILD conf2struct-1.3.ebuild 757 BLAKE2B 24e56adcb215fd3a4c211ee76b244ad1e212a1bec8d8ed9a5a4458e0aec63ec02ec2dbd1efbd904e4e40ced3062ff7614a3a6105e13ebecf2cf4778fdc4e4721 SHA512 630e9c2cc4dd7a2a1dac3ac70e7d542a2c0f971bf7682d29d0f14e528e65bcdf129e510405f741c3b8c057920090cbd8b63b576778a300080693a113345da941
+EBUILD conf2struct-9999.ebuild 757 BLAKE2B 24e56adcb215fd3a4c211ee76b244ad1e212a1bec8d8ed9a5a4458e0aec63ec02ec2dbd1efbd904e4e40ced3062ff7614a3a6105e13ebecf2cf4778fdc4e4721 SHA512 630e9c2cc4dd7a2a1dac3ac70e7d542a2c0f971bf7682d29d0f14e528e65bcdf129e510405f741c3b8c057920090cbd8b63b576778a300080693a113345da941
MISC metadata.xml 334 BLAKE2B 8a441ec6c49f135a517821de0933e09c01861a135a0a16cad200acb2a695cb04bdc5d4d6ab076b95d7f547a8771984ee3cfca0c074ad1c41db3df5cee2876f60 SHA512 db25be9a745a1ebef49e8e477e24d715453cfe0bb698dc8e42ccf3ef8d8aac3cc9693e3f2873f28b3096016741bbf3c32841f025a06bcee61e9138ac2f6ee8b7
diff --git a/dev-util/conf2struct/conf2struct-1.0.ebuild b/dev-util/conf2struct/conf2struct-1.0.ebuild
index 842516d70e82..6891ffd1b8b0 100644
--- a/dev-util/conf2struct/conf2struct-1.0.ebuild
+++ b/dev-util/conf2struct/conf2struct-1.0.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/yrutschle/conf2struct.git"
inherit git-r3
else
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~s390 ~x86"
SRC_URI="https://github.com/yrutschle/conf2struct/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
diff --git a/dev-util/conf2struct/conf2struct-1.3.ebuild b/dev-util/conf2struct/conf2struct-1.3.ebuild
new file mode 100644
index 000000000000..6891ffd1b8b0
--- /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 683376de085a..6891ffd1b8b0 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