diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-09-04 09:17:55 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-09-04 09:20:34 -0400 |
commit | a9be772141fc30b4d9e5c59a78a50a0617438052 (patch) | |
tree | 238327e0a1569e0ebe92c532127e2713f5e560f6 /dev-util/conf2struct/conf2struct-1.0.ebuild | |
parent | www-client/firefox: update nss/nspr dep in testing (diff) | |
download | gentoo-a9be772141fc30b4d9e5c59a78a50a0617438052.tar.gz gentoo-a9be772141fc30b4d9e5c59a78a50a0617438052.tar.bz2 gentoo-a9be772141fc30b4d9e5c59a78a50a0617438052.zip |
dev-util/conf2struct: 1.0 version bump
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util/conf2struct/conf2struct-1.0.ebuild')
-rw-r--r-- | dev-util/conf2struct/conf2struct-1.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-util/conf2struct/conf2struct-1.0.ebuild b/dev-util/conf2struct/conf2struct-1.0.ebuild new file mode 100644 index 000000000000..b853d93f1b86 --- /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 +} |