summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-11-05 18:58:58 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-11-05 19:05:26 +0100
commit11c74cdbb2139de40ce04510797d586c385ef66c (patch)
tree4b2bd375f2792c6d84aa53bb3661c43251788e4c /dev-util
parentdev-ml/configurator: Remove old (diff)
downloadgentoo-11c74cdbb2139de40ce04510797d586c385ef66c.tar.gz
gentoo-11c74cdbb2139de40ce04510797d586c385ef66c.tar.bz2
gentoo-11c74cdbb2139de40ce04510797d586c385ef66c.zip
dev-util/omake: bump to 0.10.3
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/omake/Manifest1
-rw-r--r--dev-util/omake/omake-0.10.3.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/omake/Manifest b/dev-util/omake/Manifest
index cd394e4db3c5..4fe1096835c0 100644
--- a/dev-util/omake/Manifest
+++ b/dev-util/omake/Manifest
@@ -1,2 +1,3 @@
DIST omake-0.10.2.tar.gz 2434316 SHA256 c454f20535d91082294b150beebde3d0542f52be81daed17211326f4efa4d6fe SHA512 22c454825287dd54272874ec3aa7c5a79f7eac79e18a3eefd4b2e90a08f9767307b0f627d71049a4c08776c85318ce096e89fcc5619d3ec78cc073744efd0fbd WHIRLPOOL 86078e22c975b03f48968e02722374be61f24f1df9b402eeac87d0305c73e1558f2d9b6e74e419a911f797e74dd330fee192591f695ff2bdfbcfa56a90372a4c
+DIST omake-0.10.3.tar.gz 2438877 SHA256 ff3107e9459615ea6526309c533b04815eef60692a20dcd3a6169f5860786d1d SHA512 77eb87b819048d7d9cb9b89a73c5f922ba3adc93f0d58536b3cfa20abdbf1d2a4c576b77921c52e8ea5f80171e8a503b573bf2a92b65fa0579f6492574079733 WHIRLPOOL 959b7f7285bcbd45670b478b092fc520c90bf151f25fa8785e114b74f4cecfc382921d7207b46ae384e93f001f28b6b75b8c3ddd72d7117aa65ca5f393927358
DIST omake-0.9.8.6-0.rc1.tar.gz 3254283 SHA256 23c498f071723621dd5e1e29c1abefd6937c73c67bb85d223fd514b9ae005ae9 SHA512 10a7ef6746c656d25852d408fafdd67a95acc59b73c892f0dbc316f2a01949b5349d5203c9fe2400cc7c05e14a7b1bc075603bd462ab74b60427d944f8e177d0 WHIRLPOOL d7da243aff8b6ff12f943db997bb644cfb88117b4deadb8ebea698537d864ede4084acc4afe7314a93eb24fa3a4092dbb24ecfb28cabff85c0214a03d89b44c6
diff --git a/dev-util/omake/omake-0.10.3.ebuild b/dev-util/omake/omake-0.10.3.ebuild
new file mode 100644
index 000000000000..019e3e3775e7
--- /dev/null
+++ b/dev-util/omake/omake-0.10.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit toolchain-funcs multilib eutils
+
+RESTRICT="installsources"
+DESCRIPTION="Make replacement"
+HOMEPAGE="http://projects.camlcity.org/projects/omake.html"
+SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc fam ncurses +ocamlopt readline"
+DEPEND=">=dev-lang/ocaml-3.10.2:=[ocamlopt?]
+ ncurses? ( >=sys-libs/ncurses-5.3:0= )
+ fam? ( virtual/fam )
+ readline? ( >=sys-libs/readline-4.3:0= )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${PN}-0.10.2-cflags.patch"
+}
+
+src_configure() {
+ ./configure \
+ -prefix "${EPREFIX}/usr" \
+ $(use readline || echo '-disable-readline') \
+ $(use ncurses || echo '-disable-ncurses' ) \
+ $(use fam || echo '-disable-fam' ) \
+ || die
+}
+
+src_compile() {
+ emake all
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ dodoc ChangeLog CONTRIBUTORS.org README.md
+ if use doc; then
+ dodoc doc/ps/omake-doc.{pdf,ps} doc/txt/omake-doc.txt
+ dohtml -r doc/html/*
+ fi
+ use ocamlopt || export STRIP_MASK="*/bin/*"
+}