diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-06-30 13:32:45 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-06-30 13:34:31 -0400 |
commit | abeb735bb2222f9321601d8f357508d6c6dbae2d (patch) | |
tree | beed08e13f242e6b148effce552790abce25e94f /dev-util/icmake/icmake-9.02.08.ebuild | |
parent | app-text/yodl: version bump to 4.02.01 (diff) | |
download | gentoo-abeb735bb2222f9321601d8f357508d6c6dbae2d.tar.gz gentoo-abeb735bb2222f9321601d8f357508d6c6dbae2d.tar.bz2 gentoo-abeb735bb2222f9321601d8f357508d6c6dbae2d.zip |
dev-util/icmake: version bump to 9.02.08
Diffstat (limited to 'dev-util/icmake/icmake-9.02.08.ebuild')
-rw-r--r-- | dev-util/icmake/icmake-9.02.08.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/icmake/icmake-9.02.08.ebuild b/dev-util/icmake/icmake-9.02.08.ebuild new file mode 100644 index 000000000000..31991a073eab --- /dev/null +++ b/dev-util/icmake/icmake-9.02.08.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Hybrid between a make utility and a shell scripting language" +HOMEPAGE="http://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 +} |