diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-12-29 14:42:27 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-12-29 14:44:13 +0300 |
commit | 578b58a9fdf1462165eabdfb8737cd3ff0c5bc13 (patch) | |
tree | 0d4e7f37f9606f8367aea31e6690305c656f93d3 /dev-ml/extlib | |
parent | dev-lang/python: Redo patchset for 2.7.17-r1 (diff) | |
download | gentoo-578b58a9fdf1462165eabdfb8737cd3ff0c5bc13.tar.gz gentoo-578b58a9fdf1462165eabdfb8737cd3ff0c5bc13.tar.bz2 gentoo-578b58a9fdf1462165eabdfb8737cd3ff0c5bc13.zip |
dev-ml/extlib: Version bump (v1.7.6)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'dev-ml/extlib')
-rw-r--r-- | dev-ml/extlib/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/extlib/extlib-1.7.6.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest index fc8595fba34c..2098ac0736a8 100644 --- a/dev-ml/extlib/Manifest +++ b/dev-ml/extlib/Manifest @@ -1,2 +1,3 @@ DIST extlib-1.7.1.tar.gz 85397 BLAKE2B f2e924f651cc43ca29914c95400a26bfd062ecb4e7379d169533d394497215906b56e8f57ba29358965f0b8c125c33dcb9a0a95c09488404fd348261d075457f SHA512 42ea1be22a57ab31e5857df0c4c0f98a07e1b5958b34181cd5ab7c83ded112c208315d22cd3dd178d53e75ca109a70cb47ae479e95be8c47ea2087b1a158dc4d DIST extlib-1.7.2.tar.gz 85934 BLAKE2B fab7f5f99be414a83f46144bc8f2f54aeb545ef9041b62f227f9dafd267a3f8608b94388ffc39903b069ec7d481b4da8a6a2e9aa289c68263613cf64aa6a45e0 SHA512 d9f34f5bbd5e94a8dccc5bdbc1ec0e5015608675469c4f513461fa587a5eb7e1398542388fd885d7656591ca85ce30c0e2a9ee26b9722a9dd65189aac35d64ed +DIST extlib-1.7.6.tar.gz 88068 BLAKE2B 32376c09728ec7e7d762888ad706641b94bcc976f2e1f42f246ba79fe862b60df7ff924e1e22e89333d8f2e1d999deb71eee481c3c5919aa5d1e02731f64f323 SHA512 3065e2474fb0e480ed076aa1156584a4a6c839cd5d9e59f341e41113abb1736241354aa7ee7cb492967698bc392969522fd5bf30d1ad7f94754c4e10f376afa8 diff --git a/dev-ml/extlib/extlib-1.7.6.ebuild b/dev-ml/extlib/extlib-1.7.6.ebuild new file mode 100644 index 000000000000..54e4c815cc39 --- /dev/null +++ b/dev-ml/extlib/extlib-1.7.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib + +DESCRIPTION="Standard library extensions for O'Caml" +HOMEPAGE="https://github.com/ygrek/ocaml-extlib" +SRC_URI="https://github.com/ygrek/ocaml-extlib/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc +ocamlopt" + +RDEPEND=" + >=dev-lang/ocaml-3.10.2:=[ocamlopt?] +" +DEPEND="${RDEPEND} + dev-ml/cppo" + +S="${WORKDIR}/ocaml-${P}" + +src_compile() { + cd src || die + emake -j1 all + if use ocamlopt; then + emake opt cmxs + fi + + if use doc; then + emake doc + fi +} + +src_test() { + emake -j1 test +} + +src_install () { + findlib_src_install + + # install documentation + dodoc README.md + + if use doc; then + dodoc -r src/doc/ + fi +} |