dev-util/icmake: version bump to 9.02.09
authorTim Harder <radhermit@gentoo.org>
Fri, 27 Dec 2019 19:39:24 +0000 (12:39 -0700)
committerTim Harder <radhermit@gentoo.org>
Fri, 27 Dec 2019 20:14:18 +0000 (13:14 -0700)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
dev-util/icmake/Manifest
dev-util/icmake/icmake-9.02.09.ebuild [new file with mode: 0644]

index 22ee87b73a9e46e1dcc883b79aecb28699f757ff..50b649706dcf79f7efd85507242329463aa80e52 100644 (file)
@@ -1 +1,2 @@
 DIST icmake-9.02.08.tar.gz 372630 BLAKE2B 0c0437bd44c102a866eb85649df36badc52d0215f76d986bab818c6ad9ca28bcd9dff246f91e03ce623adc860ce434f37c4d1d00f74c8cf11200fb77aede9fe1 SHA512 8c4debbe236b2112f1a3bce6b4bd5f12f156067094af73bfec9f746b59d4fe218aeb9b3d5c82da99301d0f18e7a40cd46c76ec055d6887a72fbd3242c70cfcf4
+DIST icmake-9.02.09.tar.gz 372706 BLAKE2B dc114193fbee9cd7641e0d3c8930c09fb1a3ee705cd14a18c81099cbef90b82e08739ba20344e42ba90c0001b90b274c0e7468f02f84260588659fdea51156a1 SHA512 383ae2e74a5193524aab184e6480cf53d5d3a2296420b8d35c6f223749c74b85f5c88ea00d8ff1e754ddacf2fd7f89c9205df64447fbb292681b069f93eb6891
diff --git a/dev-util/icmake/icmake-9.02.09.ebuild b/dev-util/icmake/icmake-9.02.09.ebuild
new file mode 100644 (file)
index 0000000..4eea029
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 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
+}