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>
This commit is contained in:
Craig Andrews
2020-07-20 09:49:27 -04:00
parent f95537cd23
commit c423f817d7
3 changed files with 34 additions and 1 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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