commit: c67313e237d5ffae23cd93194b90fda95197b411 Author: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com> AuthorDate: Sun Jun 5 16:03:44 2016 +0000 Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com> CommitDate: Sun Jun 5 16:03:44 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c67313e2
dev-ml/zarith: remove since in main tree dev-ml/zarith/metadata.xml | 18 ------------- dev-ml/zarith/zarith-1.2.1.ebuild | 54 --------------------------------------- 2 files changed, 72 deletions(-) diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml deleted file mode 100644 index e8c58a4..0000000 --- a/dev-ml/zarith/metadata.xml +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <longdescription> - The Zarith library implements arithmetic and logical operations over - arbitrary-precision integers. It uses GMP to efficiently implement - arithmetic over big integers. Small integers are represented as Caml - unboxed integers, for speed and space economy. -</longdescription> - <use> - <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> for arbitrary - precision integer arithmetic</flag> - </use> -</pkgmetadata> diff --git a/dev-ml/zarith/zarith-1.2.1.ebuild b/dev-ml/zarith/zarith-1.2.1.ebuild deleted file mode 100644 index cd0fa27..0000000 --- a/dev-ml/zarith/zarith-1.2.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit eutils findlib multilib - -DESCRIPTION="Arithmetic and logical operations over arbitrary-precision integers" -HOMEPAGE="http://forge.ocamlcore.org/projects/zarith" -SRC_URI="http://forge.ocamlcore.org/frs/download.php/1199/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+ocamlopt doc mpir" - -DEPEND=" - >=dev-lang/ocaml-3.12.1[ocamlopt?] - !mpir? ( dev-libs/gmp:0 ) - mpir? ( sci-libs/mpir:0 )" -RDEPEND="${DEPEND}" - -pkg_setup() { - OCAMLDIR=$(ocamlc -where) -} - -src_prepare(){ - default - sed \ - -e 's:(OCAMLFIND) install:(OCAMLFIND) install -ldconf $(INSTALLDIR)/ld.conf:g' \ - -i "${S}"/project.mak || die -} - -src_configure(){ - MY_OPTS="-ocamllibdir /usr/$(get_libdir) -installdir ${D}/${OCAMLDIR}" - use mpir && MY_OPTS="${MY_OPTS} -mpir" - ./configure ${MY_OPTS} || die "configure failed" -} - -src_compile(){ - default - use doc && emake doc -} - -src_install(){ - findlib_src_preinst - cp "${OCAMLDIR}"/ld.conf "${D}/${OCAMLDIR}"/ld.conf || die - default - rm -f "${D}/${OCAMLDIR}"/ld.conf || die - DOCS=( Changes README ) - use doc && HTML_DOCS=( html/. ) - einstalldocs -}
