From 441d1370330332b7d78f238d2f5e13f7aed5e4e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Dec 2020 23:06:25 +0000 Subject: gentoo christmass resync : 25.12.2020 --- dev-ml/findlib/Manifest | 2 +- dev-ml/findlib/findlib-1.8.1-r1.ebuild | 78 ---------------------------------- dev-ml/findlib/findlib-1.8.1-r2.ebuild | 75 ++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 79 deletions(-) delete mode 100644 dev-ml/findlib/findlib-1.8.1-r1.ebuild create mode 100644 dev-ml/findlib/findlib-1.8.1-r2.ebuild (limited to 'dev-ml/findlib') diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest index 03cec4dd980d..065e7dcd5031 100644 --- a/dev-ml/findlib/Manifest +++ b/dev-ml/findlib/Manifest @@ -3,5 +3,5 @@ AUX externalmeta5.patch 562 BLAKE2B 0618a1691472c3248f63f157f2ba36d886a7b34b1813 AUX externalmeta6.patch 546 BLAKE2B d0d5f75c46704b280ae4480ffe2ebca097adbc457c845615721888b45612da1a8e71b41bd6d8d9dadb16cdffa35108fc87a3dfd32313fa96d92f0021817e0112 SHA512 c112b7d44101e483d408c56dcd0d2524208b6e95b65a09dfe01f8ad6d09a20617020f9174cb4631473bab2550fec151329fb5e8d0e2e3378991f1ab88cce0301 AUX externalmeta7.patch 527 BLAKE2B bf4a4aec02096766f9741705fbf99201c742abc992ddb05c143378d7bb6d0b79f3c3541199eb5a81142fa1b317980646c3fe12528f792cbfaa7762f024bd88d1 SHA512 61c1e03e5b0d021f2cd7d013bed54edd610edb48cf9f6c063d3542abea2d2fc811c1cf7284b54a584491064dee8dd4e72656ba90a63c144586f40705b8443a1d DIST findlib-1.8.1.tar.gz 261544 BLAKE2B acfa9d4e0d118ebbc0dd7b03da1fe5eaa994e5fec13dc54e60ba42f643d93968469a1a43fe4f832433dca6c3902e8846616fcf460c748bf037fe16cb2f93a847 SHA512 0d8e1ff21217fcc6823aab3ac71282789691e4ae8c3607703d0393468247f93e2d084bd4e2a8795b523f2c7f193521d3aae4b8122c934ebf8b58c3185a5bc9c1 -EBUILD findlib-1.8.1-r1.ebuild 1666 BLAKE2B dc1031afd592e0b82a11768991bc6c13d2034ce0354d8659d18397366e3eb4d5bbac50b1f62d0b944ec3e298cdd2ffe3134d10a16a9d2c2f53d8528188fc44a1 SHA512 ea9348133fa3c07f312121ea5a02e255cf5848ee6bc149972cf548df0531fb87e4c388d72e7134d0afdb61908d29390b6182aec36fe244dea51b6e3d3585dad7 +EBUILD findlib-1.8.1-r2.ebuild 1647 BLAKE2B e87f9ec61c280cbd09dbcfb9d18240d99b6ba6b044af9b0c5496278769b31ebc50fd9e4168bf9916dd6da5e1b3991a492a9c05f2bfd9e6c1c3af38c57a3ee545 SHA512 77a42202efbcc1b430464b660ba1e8b7cd01620f19453a8ef4cd4837fcc59c9f6a109b6b0b9a54b9390e18e63d43e29299c6cac8dfb4d7ed4500e0543688e7b6 MISC metadata.xml 244 BLAKE2B c82f45966666e095a27d4d8b14f01f93e202177ea8222c5fc806f4e243b8ca653a61232533a6dd10ed36a35f765dc94cfc651f9fade565b8eedfe1129b5c2d23 SHA512 756b8d091c29b6c4c621ba30588da62cf99e777243fbdd88cc668f3ec071353beea675c853f8c58752fbc6c01c795760cb10428d3a7fd087967a88b885d91149 diff --git a/dev-ml/findlib/findlib-1.8.1-r1.ebuild b/dev-ml/findlib/findlib-1.8.1-r1.ebuild deleted file mode 100644 index 9c3988c304ea..000000000000 --- a/dev-ml/findlib/findlib-1.8.1-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib - -DESCRIPTION="OCaml tool to find/use non-standard packages" -HOMEPAGE="http://projects.camlcity.org/projects/findlib.html" -SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" -IUSE="doc +ocamlopt tk" - -LICENSE="MIT" - -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" - -DEPEND=">=dev-lang/ocaml-4.08.1-r1:=[ocamlopt?] - tk? ( dev-ml/labltk:= )" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/externalmeta7.patch ) - -src_prepare() { - default - export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" - export stublibs="${ocamlfind_destdir}/stublibs" -} - -src_configure() { - local myconf - use tk && myconf="-with-toolbox" - ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \ - -sitelib ${ocamlfind_destdir} \ - -config ${ocamlfind_destdir}/findlib/findlib.conf \ - -no-custom \ - ${myconf} || die "configure failed" -} - -src_compile() { - emake -j1 all - if use ocamlopt; then - emake -j1 opt # optimized code - fi -} - -src_install() { - emake prefix="${D}" install - - dodir "${stublibs#${EPREFIX}}" - - if use doc; then - cd "${S}/doc" || die - dodoc QUICKSTART README DOCINFO - docinto html - dodoc -r ref-html guide-html - fi -} - -check_stublibs() { - local ocaml_stdlib=`ocamlc -where` - local ldconf="${ocaml_stdlib}/ld.conf" - - if [ ! -e ${ldconf} ] - then - echo "${ocaml_stdlib}" > ${ldconf} - echo "${ocaml_stdlib}/stublibs" >> ${ldconf} - fi - - if [ -z `grep -e ${stublibs} ${ldconf}` ] - then - echo ${stublibs} >> ${ldconf} - fi -} - -pkg_postinst() { - check_stublibs -} diff --git a/dev-ml/findlib/findlib-1.8.1-r2.ebuild b/dev-ml/findlib/findlib-1.8.1-r2.ebuild new file mode 100644 index 000000000000..fa1af8f3e840 --- /dev/null +++ b/dev-ml/findlib/findlib-1.8.1-r2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="OCaml tool to find/use non-standard packages" +HOMEPAGE="http://projects.camlcity.org/projects/findlib.html" +SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc +ocamlopt tk" + +DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] + tk? ( dev-ml/labltk:= )" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/externalmeta7.patch ) + +src_prepare() { + default + export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml" + export stublibs="${ocamlfind_destdir}/stublibs" +} + +src_configure() { + local myconf + use tk && myconf="-with-toolbox" + ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \ + -sitelib ${ocamlfind_destdir} \ + -config ${ocamlfind_destdir}/findlib/findlib.conf \ + -no-custom \ + ${myconf} || die "configure failed" +} + +src_compile() { + emake -j1 all + if use ocamlopt; then + emake -j1 opt # optimized code + fi +} + +src_install() { + emake prefix="${D}" install + + dodir "${stublibs#${EPREFIX}}" + + if use doc; then + cd "${S}/doc" || die + dodoc QUICKSTART README DOCINFO + docinto html + dodoc -r ref-html guide-html + fi +} + +check_stublibs() { + local ocaml_stdlib=`ocamlc -where` + local ldconf="${ocaml_stdlib}/ld.conf" + + if [ ! -e ${ldconf} ] + then + echo "${ocaml_stdlib}" > ${ldconf} + echo "${ocaml_stdlib}/stublibs" >> ${ldconf} + fi + + if [ -z `grep -e ${stublibs} ${ldconf}` ] + then + echo ${stublibs} >> ${ldconf} + fi +} + +pkg_postinst() { + check_stublibs +} -- cgit v1.2.3