diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-11-01 18:04:46 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-11-01 18:06:20 -0400 |
commit | d42ccbef8347e00b5e47a1deb7b63a376b4f6f1e (patch) | |
tree | 9b5fdd2cc39cdeb9c80d9c09488b577b33b2d21f /dev-util/icmake/icmake-9.02.02.ebuild | |
parent | dev-python/lz4: stable for amd64. mark stable for the remaining arches using ... (diff) | |
download | gentoo-d42ccbef8347e00b5e47a1deb7b63a376b4f6f1e.tar.gz gentoo-d42ccbef8347e00b5e47a1deb7b63a376b4f6f1e.tar.bz2 gentoo-d42ccbef8347e00b5e47a1deb7b63a376b4f6f1e.zip |
dev-util/icmake: version bump to 9.02.02
Diffstat (limited to 'dev-util/icmake/icmake-9.02.02.ebuild')
-rw-r--r-- | dev-util/icmake/icmake-9.02.02.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/icmake/icmake-9.02.02.ebuild b/dev-util/icmake/icmake-9.02.02.ebuild new file mode 100644 index 000000000000..5a56d3185fae --- /dev/null +++ b/dev-util/icmake/icmake-9.02.02.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="Hybrid between a make utility and a shell scripting language" +HOMEPAGE="https://fbb-git.github.io/icmake/ https://github.com/fbb-git/icmake" +SRC_URI="https://github.com/fbb-git/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +S=${WORKDIR}/${P}/${PN} + +PATCHES=( + "${FILESDIR}"/${PN}-9.00.00-ar.patch + "${FILESDIR}"/${P}-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 +} |