From 6ec19c7f1bc4aa70e5f8a86cd29d579a95d97035 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Jan 2020 18:58:09 +0000 Subject: gentoo resync : 18.01.2020 --- dev-util/icmake/icmake-9.03.01.ebuild | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 dev-util/icmake/icmake-9.03.01.ebuild (limited to 'dev-util/icmake/icmake-9.03.01.ebuild') diff --git a/dev-util/icmake/icmake-9.03.01.ebuild b/dev-util/icmake/icmake-9.03.01.ebuild new file mode 100644 index 000000000000..e6bd5c26d8b4 --- /dev/null +++ b/dev-util/icmake/icmake-9.03.01.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Hybrid between a make utility and a shell scripting language" +HOMEPAGE="https://fbb-git.gitlab.io/icmake/ https://gitlab.com/fbb-git/icmake" +SRC_URI="https://gitlab.com/fbb-git/${PN}/-/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR}/${P}/${PN} + +PATCHES=( + "${FILESDIR}"/${PN}-9.00.00-ar.patch + "${FILESDIR}"/${PN}-9.02.02-verbose-build.patch +) + +src_prepare() { + default + + sed -e "/^#define LIBDIR/s/lib/$(get_libdir)/" \ + -e "/^#define DOCDIR/s/${PN}/${PF}/" \ + -e "/^#define DOCDOCDIR/s/${PN}-doc/${PF}/" \ + -i INSTALL.im || die + + # fix build issues (bug #589896) + append-cflags -std=gnu99 + + tc-export AR CC +} + +src_configure() { + ./icm_prepare "${EROOT}" || die +} + +src_compile() { + ./icm_bootstrap "${EROOT}" || die +} + +src_install() { + ./icm_install all "${ED}" || die +} -- cgit v1.2.3