diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-ml/zarith/zarith-1.7.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ml/zarith/zarith-1.7.ebuild')
-rw-r--r-- | dev-ml/zarith/zarith-1.7.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/dev-ml/zarith/zarith-1.7.ebuild b/dev-ml/zarith/zarith-1.7.ebuild deleted file mode 100644 index 857c5026e9d6..000000000000 --- a/dev-ml/zarith/zarith-1.7.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit findlib eutils toolchain-funcs - -DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers" -HOMEPAGE="https://github.com/ocaml/Zarith" -SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="doc mpir +ocamlopt" - -RDEPEND=" - >=dev-lang/ocaml-4:=[ocamlopt?] - !mpir? ( dev-libs/gmp:0= ) - mpir? ( sci-libs/mpir )" - -DEPEND="${RDEPEND} dev-lang/perl" - -S="${WORKDIR}/Zarith-release-${PV}" - -src_configure() { - tc-export CC - ./configure -host "${CHOST}" \ - -ocamllibdir "/usr/$(get_libdir)" \ - -installdir "${ED}/usr/$(get_libdir)/ocaml" \ - $(usex mpir "-mpir" "-gmp") || die -} - -src_compile() { - emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) all - use doc && emake doc -} - -src_test() { - if use ocamlopt ; then - emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) tests - else - ewarn "Tests require USE=ocamlopt. Skipping them." - fi -} - -src_install() { - findlib_src_preinst - emake HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) install - dodoc Changes README.md - use doc && dohtml html/* -} |