From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-ml/findlib/Manifest | 10 +++++ dev-ml/findlib/files/externalmeta4.patch | 16 +++++++ dev-ml/findlib/files/externalmeta5.patch | 13 ++++++ dev-ml/findlib/files/externalmeta6.patch | 13 ++++++ dev-ml/findlib/findlib-1.7.1.ebuild | 73 ++++++++++++++++++++++++++++++++ dev-ml/findlib/findlib-1.7.2.ebuild | 73 ++++++++++++++++++++++++++++++++ dev-ml/findlib/findlib-1.7.3.ebuild | 73 ++++++++++++++++++++++++++++++++ dev-ml/findlib/metadata.xml | 8 ++++ 8 files changed, 279 insertions(+) create mode 100644 dev-ml/findlib/Manifest create mode 100644 dev-ml/findlib/files/externalmeta4.patch create mode 100644 dev-ml/findlib/files/externalmeta5.patch create mode 100644 dev-ml/findlib/files/externalmeta6.patch create mode 100644 dev-ml/findlib/findlib-1.7.1.ebuild create mode 100644 dev-ml/findlib/findlib-1.7.2.ebuild create mode 100644 dev-ml/findlib/findlib-1.7.3.ebuild create mode 100644 dev-ml/findlib/metadata.xml (limited to 'dev-ml/findlib') diff --git a/dev-ml/findlib/Manifest b/dev-ml/findlib/Manifest new file mode 100644 index 000000000000..b72a25c2af39 --- /dev/null +++ b/dev-ml/findlib/Manifest @@ -0,0 +1,10 @@ +AUX externalmeta4.patch 675 BLAKE2B 14c3b5c3a2cd0b0224849cce401752c32658a5d0426c36adb65cbf324ff10a96ce007975e2cba777e70e42b3d1c4bebdf3d2874f25bb8a7b1e67bf18c814bc4d SHA512 3aee50761934b6d6a418e6ed33f4ab3fba21df12379b41d86c3f8702fe467cbfe90b5bf25dafeee6c660eb7b4228c9a0dfb7296125a96cae2acfbf8786e4fb80 +AUX externalmeta5.patch 562 BLAKE2B 0618a1691472c3248f63f157f2ba36d886a7b34b1813d2e2fca76c1546bd883d4992c0fd14938b8be1c6c72a5597d52b92e1b324a6e59db58667493685fb3b9c SHA512 2a1e14a3eca3f95ee29e1902324469ab11f117012db60d2f34e0ab7818a44abaebd023562a6f521db7451691219461c453ba5f3fcf424e2fe65e407a11741863 +AUX externalmeta6.patch 546 BLAKE2B d0d5f75c46704b280ae4480ffe2ebca097adbc457c845615721888b45612da1a8e71b41bd6d8d9dadb16cdffa35108fc87a3dfd32313fa96d92f0021817e0112 SHA512 c112b7d44101e483d408c56dcd0d2524208b6e95b65a09dfe01f8ad6d09a20617020f9174cb4631473bab2550fec151329fb5e8d0e2e3378991f1ab88cce0301 +DIST findlib-1.7.1.tar.gz 256883 BLAKE2B 7459082dee3cd04045e8dbf59bc82075eb1c24bb8daff4a58d0002d7962ab19c5635ebb0551f29f99f37f1e08acd8eaa4dcd99d213438ff7a77cfc36ddadedd1 SHA512 1c8002dc2ed1804afc78c2aa92ab55d2b6501fbb021a7ca46698b4de0dea8ad6485a64f7bf9ec5f3df888da1a420ab270efb5e26f1e408cc8b78fa3ccb981ba4 +DIST findlib-1.7.2.tar.gz 257747 BLAKE2B 826993e9d3e5a9dab9084b006347a0324c848aa50a42ba1daa0d76010a0cdbf6e1ae9f0754dd3bef84f043ee43c3bd9775284a73ee5b130b678834d14d4ddb1c SHA512 f2aadaf8630482785ebfe6788bfea6716defdd6ba94e7f4e3b743c3415fa5b169e31301d605857823e9c74f7bd2f774399ee32a8acb35e64ce0cba5e98e4dd2c +DIST findlib-1.7.3.tar.gz 257703 BLAKE2B d69687ee4b75bd7ba514c5507bd474764cfb76f0502ef613c3dd8d8e9e92b5f12704c101b9228d71f2d9f151ab5e63b4352b759a2c7a2694f23b10b6c4e724d2 SHA512 5fc8250c123e2f019406be487134523f964668d615b51b216551d74f6ec1999de43aa7babc9c2c75ebb87293b4b8c640548d562a98a6e5a6d7f663432869c886 +EBUILD findlib-1.7.1.ebuild 1646 BLAKE2B f1aa30d23fa0d711380b1c9dd604fa3b91cba3380c13747756015ca7c3f703e5b995abd14c0bc16f034ef6a8d5186bee1e9bb9170cfd27348dec13da11ce564c SHA512 58bc5f85b199ab7c2d83c652cf04e2608ac2eab442ec5fc10c623b4f5e1bae28c250af09ec38030e43af2f3d040ac290362fdda666d24c89b1e1903a1ebe9230 +EBUILD findlib-1.7.2.ebuild 1655 BLAKE2B d16880e456201f432021048dadb6e6b37b46a6167cba4d14448bc2abc27707e241eea6fdd22c4a1c11278d38a9650b2acca5fbefdfbf1bd20a8cd58d2bbe76d5 SHA512 6a0b49cea18ba2d1768c729f4adb74778f722d034c516dd1f77580e68eac709e2c07dc7ca73d0d9943851abd157b8a938b7f74b5672eab076fb764f565b6accb +EBUILD findlib-1.7.3.ebuild 1668 BLAKE2B 01f7c3c7c535a8f4e4df75c23ca6ed3fcde62ab2d5c4dc9683065ebde4caebad6bb746c03d7b72302a614967ddcf958a31412107cc0bddbc96d26597ad0affc1 SHA512 598e099113e9b4f059379614c5dd65b46b3333dc812950c4ce3ebdcc023f320dee7f29d0d341060579630d2f1367064e5384943d1d1da0bc2de5ad479a603247 +MISC metadata.xml 247 BLAKE2B a49ba320a43edd431ae39eb274b77ddf0db171a7b06f4f0f0b8f75ee8e3b7f840dead108aa9c63fba75c609a44f7418268cd65c65877f3305d2a6d3ed3c678f6 SHA512 0f7ebd1264695f56fe6ab78e4e82c07866376f03ebfa12b22b60d0b2df819aa818832cb0d9eb2d77ab642a786b44cd127f579c348f0b2f57bc22e26b3b51c42b diff --git a/dev-ml/findlib/files/externalmeta4.patch b/dev-ml/findlib/files/externalmeta4.patch new file mode 100644 index 000000000000..a2bb4945f18c --- /dev/null +++ b/dev-ml/findlib/files/externalmeta4.patch @@ -0,0 +1,16 @@ +Avoid installing META files for labltk, camlp4 and ocamlbuild: Those are provided by their +respective packages now. + +Index: findlib-1.7.1/configure +=================================================================== +--- findlib-1.7.1.orig/configure ++++ findlib-1.7.1/configure +@@ -539,7 +539,7 @@ fi + + # Generate the META files now. + +-l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray ocamldoc $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes $lspacetime" ++l="$ldbm dynlink graphics num num-top str threads unix stdlib bigarray ocamldoc $lcomplibs $lbytes $lspacetime" + + for dir in site-lib-src/*; do + # We do not really know if $dir is a directory. diff --git a/dev-ml/findlib/files/externalmeta5.patch b/dev-ml/findlib/files/externalmeta5.patch new file mode 100644 index 000000000000..ac90722de3b3 --- /dev/null +++ b/dev-ml/findlib/files/externalmeta5.patch @@ -0,0 +1,13 @@ +Index: findlib-1.7.2/configure +=================================================================== +--- findlib-1.7.2.orig/configure ++++ findlib-1.7.2/configure +@@ -557,7 +557,7 @@ fi + + # Generate the META files now. + +-l="$ldbm dynlink graphics $lnum num-top str threads unix stdlib bigarray ocamldoc $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes $lspacetime" ++l="$ldbm dynlink graphics $lnum num-top str threads unix stdlib bigarray ocamldoc $lcomplibs $lbytes $lspacetime" + + for dir in site-lib-src/*; do + # We do not really know if $dir is a directory. diff --git a/dev-ml/findlib/files/externalmeta6.patch b/dev-ml/findlib/files/externalmeta6.patch new file mode 100644 index 000000000000..7dbe9aa48e00 --- /dev/null +++ b/dev-ml/findlib/files/externalmeta6.patch @@ -0,0 +1,13 @@ +Index: findlib-1.7.2/configure +=================================================================== +--- findlib-1.7.2.orig/configure ++++ findlib-1.7.2/configure +@@ -557,7 +557,7 @@ fi + + # Generate the META files now. + +-l="$ldbm dynlink graphics $lnum str threads unix stdlib bigarray ocamldoc $llabltk $lcamlp4 $lobuild $lcomplibs $lbytes $lspacetime" ++l="$ldbm dynlink graphics $lnum str threads unix stdlib bigarray ocamldoc $lcomplibs $lbytes $lspacetime" + + for dir in site-lib-src/*; do + # We do not really know if $dir is a directory. diff --git a/dev-ml/findlib/findlib-1.7.1.ebuild b/dev-ml/findlib/findlib-1.7.1.ebuild new file mode 100644 index 000000000000..b0e73f12c349 --- /dev/null +++ b/dev-ml/findlib/findlib-1.7.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib eutils + +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 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] + tk? ( dev-ml/labltk:= )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/externalmeta4.patch" + 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}}" + + cd "${S}/doc" + dodoc QUICKSTART README DOCINFO + use doc && dohtml -r ref-html guide-html +} + +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.7.2.ebuild b/dev-ml/findlib/findlib-1.7.2.ebuild new file mode 100644 index 000000000000..3e2ddccc7ea3 --- /dev/null +++ b/dev-ml/findlib/findlib-1.7.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib eutils + +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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] + tk? ( dev-ml/labltk:= )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/externalmeta5.patch" + 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}}" + + cd "${S}/doc" + dodoc QUICKSTART README DOCINFO + use doc && dohtml -r ref-html guide-html +} + +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.7.3.ebuild b/dev-ml/findlib/findlib-1.7.3.ebuild new file mode 100644 index 000000000000..584df36d4b12 --- /dev/null +++ b/dev-ml/findlib/findlib-1.7.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib eutils + +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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] + tk? ( dev-ml/labltk:= )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/externalmeta6.patch" + 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}}" + + cd "${S}/doc" + dodoc QUICKSTART README DOCINFO + use doc && dohtml -r ref-html guide-html +} + +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/metadata.xml b/dev-ml/findlib/metadata.xml new file mode 100644 index 000000000000..75c9ea74812d --- /dev/null +++ b/dev-ml/findlib/metadata.xml @@ -0,0 +1,8 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + -- cgit v1.2.3