From e212dbc6c4af0274dca590df5ee32219ebd424b0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 2 Jan 2021 00:43:14 +0000 Subject: dev-util/conf2struct: revbump for libconfig subslot dep Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2 Signed-off-by: Sam James --- dev-util/conf2struct/conf2struct-1.3-r1.ebuild | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-util/conf2struct/conf2struct-1.3-r1.ebuild (limited to 'dev-util/conf2struct/conf2struct-1.3-r1.ebuild') diff --git a/dev-util/conf2struct/conf2struct-1.3-r1.ebuild b/dev-util/conf2struct/conf2struct-1.3-r1.ebuild new file mode 100644 index 000000000000..c39a24cd4004 --- /dev/null +++ b/dev-util/conf2struct/conf2struct-1.3-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 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 +} -- cgit v1.2.3