diff options
Diffstat (limited to 'dev-ml/zarith')
-rw-r--r-- | dev-ml/zarith/Manifest | 6 | ||||
-rw-r--r-- | dev-ml/zarith/metadata.xml | 2 | ||||
-rw-r--r-- | dev-ml/zarith/zarith-1.11.ebuild | 58 | ||||
-rw-r--r-- | dev-ml/zarith/zarith-1.12.ebuild | 5 |
4 files changed, 7 insertions, 64 deletions
diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest index 23e451ae3d20..daf160f9dc09 100644 --- a/dev-ml/zarith/Manifest +++ b/dev-ml/zarith/Manifest @@ -1,5 +1,3 @@ -DIST zarith-1.11.tar.gz 98909 BLAKE2B 01deed333dc79dfdb5748c835ef80403c7892e36e461a1c65e5bb97f147b32df2e6cbe8f4e9b916aabc3bd2479bd97439a68d9cdb123d15b7c9ed0e3e7f784f3 SHA512 7c0645d63511d42b763cd0a33b3fb139c26d23ae0cf59cd651388644cb8e7c43a83265d55d69ff3320d8c4586c4f8dbd9c3412197bab2e110c38e6e7dac88b83 DIST zarith-1.12.tar.gz 93695 BLAKE2B b9622e2f397887d08fb8a8520419cf459e99906c05a897af91258b17d92d3fbbd2314a0a4be8a56a07074dcb0a0d04c896b3b5e69526a6c81a8a07b657d1bfec SHA512 8075573ae65579a2606b37dd1b213032a07d220d28c733f9288ae80d36f8a2cc4d91632806df2503c130ea9658dc207ee3a64347c21aa53969050a208f5b2bb4 -EBUILD zarith-1.11.ebuild 1349 BLAKE2B 94ba51ff6528da6c29e75920680d596852c403c957755633999f17cbb218ce8af091ff18efec885e6378a1dbcb170001deb82ad1bc955eb738865e3b9bbfd9f0 SHA512 72384da49f4aed3f07e4c86560cef28b40a308a76b3ff7acea064b432f0f2d1f50dc9bfe9bae04215e21359e5569d75b156a62ae4cffc6bfe863dc2d6d9c05ff -EBUILD zarith-1.12.ebuild 1328 BLAKE2B 227b968a6afda8d5b57e559074b27bb1d5123b4b90d1165c9f10d7ec235da491ad2442c7bbe783915a443399f0f596c39edc208e4c7ff17e406d2bf35a305b97 SHA512 138168f2783fbed6f1f9cc635d76ccb87b5417a8e71203d0f59b51e8642dfb4f50585f47156838e6a125b466645b39e1fe8b6f5560ff9e2970c97dfc786cb5bf -MISC metadata.xml 384 BLAKE2B 2476ec65036f286fe12f1b64916114abb08792a1c8840be05fe48ba075c9beeeeef5d01ea1a920ca91144fda6d946c86c045c8a853b698bd08d0c02ff93c9bba SHA512 4e0f0e30d6b928341d9610efb0d42717476bb76a897ab3b350782b101cf7a4d3fa5b31d61499552073c987eac1ceb8bc0c9bd9103115f50ee9b52939301ff1ed +EBUILD zarith-1.12.ebuild 1382 BLAKE2B be6bbb3c6a6780953f84184513632019dbebfda50acc21078769f2f2fe172c95bf4217ab9b64effed4b58f2c4cac27264dc1a9705b04980527bb8bb606ad8aa9 SHA512 59db0bfbd106c7da0133b742882a6657726fd0f0bf4362304cb9c797d3fbdc7d27172b953cdc9935276457d1b4de18ec91e00896e53c82b31d73dcb7218f0583 +MISC metadata.xml 385 BLAKE2B b88400ffa45f84bd5bcfab6a7299ae7f961453f12a55f14dd329831a2273ded4ef2b21dcb25b2611d8590dac2850f84a0221a561d40fa65ce9d62a6ef9a75e57 SHA512 cab52bdbd8b49498a14001cef333073aab9e9496c4caef217cc37738e607a35b23d8e25c41394e976be98f822aca806a8da30773f142a70c69d2de7c8d87531c diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml index 98fa0a2215bc..6d4c3b60cfec 100644 --- a/dev-ml/zarith/metadata.xml +++ b/dev-ml/zarith/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> <email>ml@gentoo.org</email> diff --git a/dev-ml/zarith/zarith-1.11.ebuild b/dev-ml/zarith/zarith-1.11.ebuild deleted file mode 100644 index b6074eeede19..000000000000 --- a/dev-ml/zarith/zarith-1.11.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit findlib 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 ~arm ~arm64 ppc x86" -IUSE="doc mpir +ocamlopt" -RESTRICT="!ocamlopt? ( test )" - -RDEPEND=" - >=dev-lang/ocaml-4.05:=[ocamlopt=] - !mpir? ( dev-libs/gmp:0= ) - mpir? ( sci-libs/mpir:= )" - -DEPEND="${RDEPEND} dev-lang/perl" -DOCS=( README.md Changes ) - -S="${WORKDIR}/Zarith-release-${PV}" - -src_configure() { - tc-export CC AR - ./configure \ - -host "${CHOST}" \ - -ocamllibdir /usr/$(get_libdir)/ocaml \ - -installdir "${ED}"/usr/$(get_libdir)/ocaml \ - $(usex mpir "-mpir" "-gmp") || die -} - -src_compile() { - emake -j 1 HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) all - use doc && emake doc -} - -src_test() { - emake HASOCAMLOPT=yes HASDYNLINK=yes tests -} - -src_install() { - findlib_src_preinst - - emake \ - HASOCAMLOPT=$(usex ocamlopt yes no) \ - HASDYNLINK=$(usex ocamlopt yes no) \ - install - - dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a - - use doc && HTML_DOCS=( html/* ) - einstalldocs -} diff --git a/dev-ml/zarith/zarith-1.12.ebuild b/dev-ml/zarith/zarith-1.12.ebuild index 365b3503fd38..1b285165f7c6 100644 --- a/dev-ml/zarith/zarith-1.12.ebuild +++ b/dev-ml/zarith/zarith-1.12.ebuild @@ -29,8 +29,10 @@ src_configure() { tc-export CC AR ./configure \ -ocamllibdir /usr/$(get_libdir)/ocaml \ - -installdir "${ED}"/usr/$(get_libdir)/ocaml \ $(usex mpir "-mpir" "-gmp") || die + sed -i \ + -e 's|$(INSTALLDIR)|$(DESTDIR)$(INSTALLDIR)|g' \ + project.mak || die } src_compile() { @@ -48,6 +50,7 @@ src_install() { emake \ HASOCAMLOPT=$(usex ocamlopt yes no) \ HASDYNLINK=$(usex ocamlopt yes no) \ + DESTDIR="${ED}" \ install dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a |