diff options
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/Manifest.gz | bin | 39944 -> 39943 bytes | |||
-rw-r--r-- | dev-ml/dune-configurator/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/dune-configurator/dune-configurator-3.17.1.ebuild | 39 | ||||
-rw-r--r-- | dev-ml/llvm/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/llvm/llvm-20.0.0_pre20241221.ebuild | 107 | ||||
-rw-r--r-- | dev-ml/xml-light/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/xml-light/xml-light-2.2-r3.ebuild | 69 |
7 files changed, 150 insertions, 71 deletions
diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz Binary files differindex 27b80d8d42a2..e91b46a2c77a 100644 --- a/dev-ml/Manifest.gz +++ b/dev-ml/Manifest.gz diff --git a/dev-ml/dune-configurator/Manifest b/dev-ml/dune-configurator/Manifest index ed01de224f65..11ceb1020529 100644 --- a/dev-ml/dune-configurator/Manifest +++ b/dev-ml/dune-configurator/Manifest @@ -2,8 +2,10 @@ DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152 SHA512 df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23 DIST dune-3.16.1.tar.gz 3000392 BLAKE2B 93de09c47fda95e1d83f10c9a4e7cfb7f801c7c4e47acbed7a20ef614ff3a6585d8a25b8617c8ee45d338006a99084d096990d1e8c3cbeb6613caa7f0e1a70b5 SHA512 18e8022c5fa276e06f788cf25a4d6d08e3247c546cd69a5206d4e78ece1f47a615c6d5842e68e1fa7908cae7ae8c6e4f31d2eb835d97b5e6b5e4154957139e9f +DIST dune-3.17.1.tar.gz 3011472 BLAKE2B 5bb6b33cf0961ab6e9276408b40498bf296327bd594e80f3b057d38cae980443feb3e2637630463a5bf10245d355b449a1123bbacefaec234982284288e3ce64 SHA512 2953a7c3cfddfe4ef82cbecafba75883f9ccfd96c5630313c95e49e10398d806b9dcd0385dff593a31752c915e20c1d1a0f5e0a20ad7195eb36f408c2d6b66f7 EBUILD dune-configurator-2.9.1.ebuild 4096 BLAKE2B e5a5aa47665e30b13f1a158149f235156ec8e0b0e3172fb4629532f991b9bc86080d1d303f734e0fb215502151911d41fbed9cddd53d86ae13e7e70e11c8d7ab SHA512 bb7f6f2acb81a18fc9e0c3c67819a1724cbc2f643405c447e67d1bc17ea3e3a9e9194cdceeff0cf04dcf38bc154d31650a203beefc87dea9b8fa74e9f5d17873 EBUILD dune-configurator-2.9.3.ebuild 639 BLAKE2B 3f1a161b5e255cf5f3d4ada3aa15778afc5c3f4d43f524f3328e2c2d9c9b932ac9ceb213234008a3fb7380bb8986d607e6a6092a2e279da17a16962818e248b7 SHA512 1f7c44c3b4292568b4be8382efcfe71bb903b5d7a25ddf6b988de3e0c0a95a643348a4ada4e65e03b451dc278658d076d927fb0930d9855311e2dd2323a7537c EBUILD dune-configurator-3.16.0-r1.ebuild 795 BLAKE2B 9daa6cae80d648e4499d6ebded2bb091b79d9d00d15085c03dcdafd886b2ccc3eb64438fad38045b95c823f025f58f382aa723438d73ec2a21417f2ec2b3b056 SHA512 a72601633b60aeb7dc2b74bac0d597b9421c490288e951f173fd42a479d4e066d702221164f36e91f7c4f2f993f9d4a6af00b9603d916e2ea5be146dce6805c0 EBUILD dune-configurator-3.16.1.ebuild 800 BLAKE2B 01c0c5e09f371c6d7e2af03c92769d88bb66101e33e42860180d91e8dc768afa99186ca0e5229a1686cfb46b6c476afd932fbc8c2495c4ddb40bca541651a667 SHA512 2f2eba71884d9390275fc13cfc9697dc6016bea671e1c81119b221703196c179b6a59beff99ecc04b3d0996ad713d0299201d4295a28601c0a30e264f73aed6c +EBUILD dune-configurator-3.17.1.ebuild 800 BLAKE2B 01c0c5e09f371c6d7e2af03c92769d88bb66101e33e42860180d91e8dc768afa99186ca0e5229a1686cfb46b6c476afd932fbc8c2495c4ddb40bca541651a667 SHA512 2f2eba71884d9390275fc13cfc9697dc6016bea671e1c81119b221703196c179b6a59beff99ecc04b3d0996ad713d0299201d4295a28601c0a30e264f73aed6c MISC metadata.xml 308 BLAKE2B 555692890c7fe4dee18d07e140384b70278e2a4a0230916a01ab9e5306776e0ed0d979e9a3487423fa1779a166da3038dca13273811e36593bb2b821b60cdfe0 SHA512 e50e28cb6f41fda295f12af1b94aba12dda8a7091322c0e7093d19ee60615d449bc1806354043e572d70aff1284e16b644b188911adbca60a2a5c8299fcee748 diff --git a/dev-ml/dune-configurator/dune-configurator-3.17.1.ebuild b/dev-ml/dune-configurator/dune-configurator-3.17.1.ebuild new file mode 100644 index 000000000000..72cb74746f80 --- /dev/null +++ b/dev-ml/dune-configurator/dune-configurator-3.17.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Helper library for gathering system configuration" +HOMEPAGE="https://github.com/ocaml/dune" +SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" +S="${WORKDIR}/dune-${PV}" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" +RESTRICT="test" + +BDEPEND=">=dev-ml/dune-3.12" +DEPEND=" + >=dev-ml/csexp-1.5:=[ocamlopt?] +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # This enables dune-configurator to use the vendored csexp module + sed -i 's/stdune.csexp/dune-configurator.csexp/' \ + vendor/csexp/src/dune || die +} + +src_configure() { + : +} + +src_compile() { + dune-compile ${PN} +} diff --git a/dev-ml/llvm/Manifest b/dev-ml/llvm/Manifest index 1b66faf69a72..0183446df355 100644 --- a/dev-ml/llvm/Manifest +++ b/dev-ml/llvm/Manifest @@ -14,6 +14,7 @@ DIST llvm-project-19.1.6.src.tar.xz 141248428 BLAKE2B b35ab0c754f28c850ac6fd4ee5 DIST llvm-project-19.1.6.src.tar.xz.sig 438 BLAKE2B 1791e98252ab78a9a762ef601ff9edee115385181781c8100f14ec80061d7888ee4c4c519297a0e89b9c7ab2203aa9d5bb3084ea1d0f0024c2acf84826fd370b SHA512 8e79a39a4f54da3579794f9b5a009ea8ee56c7bc1805187274794ce56e81aa492ea93f5c7839a59beedcf7d657acded5ecb75d5803658cce1f9e8f753439c6c4 DIST llvm-project-32f7f0010bca99ee4bd917f57272733fb2bf3bd9.tar.gz 223983502 BLAKE2B fd3e6b0b795abc42568ef98fa774d927029c18838a5d0f34eaa66c37976444a63f2fc5d883f3bf3a98533f51e387936f1c659230f31c757d26153425696a16cd SHA512 65a345ad5b77c627008f759947e5e9f28a62c8992d7146113e0446e5849feaf9088c15c8b22ca0824af5b927d6a417f5326258b489fb8ccea78ec9e0e0fe8fba DIST llvm-project-49a5ad8e5714fd404210279303acc97b495d66d0.tar.gz 224456065 BLAKE2B 0077b9d37c479ac6190cc4b897cc35d6f1f3e6a772cd0620bcb1006afc19377e9968e38fb9d9adffe316e85290c9045deecbf9bf62b440c55968634b442edb31 SHA512 45d779eb27c230f656fda47c85127381cab8c8f7f75d77411c6960269f8aad5fa3c99c024a98ab8a349da1c88ad9d892cc82f91a6f344b791b281449031ae49a +DIST llvm-project-665d79f2e967a5eee6fff93685e45f50cf24cab2.tar.gz 224186302 BLAKE2B 6d4a02b6cfaf53324161c43ed02024f0fea0e7de25a9150cc0168602d7dff3f618026fa8318aa6e03904a9424afa1f12c5eb33bfdfa82e72210f34e5829a7804 SHA512 7482e176b1e2389b0dd0e67271cdb0489e9db0595874408156a034b40d336ecd960c63b89c237ca22eee3650880b0f08a97de14f8a17c918245915d422e568c9 EBUILD llvm-15.0.7.ebuild 2576 BLAKE2B 077f5cee93e3f92e808856559add99b5fb94c03316493329fcc5067065c44d2216420fb411c9a52fb303fd33c9d4a4edb19d4b6f20ee10ac2e86d518f3ff500a SHA512 ca1d7158d86040261105d93632a2e0f23753990e8a0a268aef2b103c1c2cc81f0497bf243301839ab7c5b00051337bc20d7d9bb1f35c844a7a06d5b02603c72a EBUILD llvm-16.0.6.ebuild 2510 BLAKE2B a1877c6ac0e8e2063ab386eb063224b0059a1b8c956e26f5ac1b5daf4902a7bf221b1591be144df618a3598e5634ca80fa43ed3b734b8c096845f34649e9f125 SHA512 cfefe80cf361a5e98be33cdf75b1fc4c226496a68caf7ab19dc47bac3c2b91bbbb5c09c2447b0271e2149d2c5aded7a28e14e57f072ee8abc04cabef11a7fabc EBUILD llvm-17.0.6.ebuild 2510 BLAKE2B a1877c6ac0e8e2063ab386eb063224b0059a1b8c956e26f5ac1b5daf4902a7bf221b1591be144df618a3598e5634ca80fa43ed3b734b8c096845f34649e9f125 SHA512 cfefe80cf361a5e98be33cdf75b1fc4c226496a68caf7ab19dc47bac3c2b91bbbb5c09c2447b0271e2149d2c5aded7a28e14e57f072ee8abc04cabef11a7fabc @@ -24,4 +25,5 @@ EBUILD llvm-19.1.6.ebuild 2466 BLAKE2B daa9646cc6b01f6de1ca0dfb13f8851b179985334 EBUILD llvm-20.0.0.9999.ebuild 2439 BLAKE2B 19f4f49a8b1ab0a818a85877e6c3d2f876fcac59550644d8ec26434ea78da323f37ceb668bcffcbd8557f1c94a2e9d77e340e726862b56c6f55b3deca3b37520 SHA512 194c91d4c82e3083718040c3ebf8c0b25cfd7b0b89d3f7c84a3ae639ecd93b70e4f511e338da883631e2a24a1f1fd97610f97314a228d63a8dc82c79c24be7a5 EBUILD llvm-20.0.0_pre20241207.ebuild 2439 BLAKE2B 19f4f49a8b1ab0a818a85877e6c3d2f876fcac59550644d8ec26434ea78da323f37ceb668bcffcbd8557f1c94a2e9d77e340e726862b56c6f55b3deca3b37520 SHA512 194c91d4c82e3083718040c3ebf8c0b25cfd7b0b89d3f7c84a3ae639ecd93b70e4f511e338da883631e2a24a1f1fd97610f97314a228d63a8dc82c79c24be7a5 EBUILD llvm-20.0.0_pre20241215.ebuild 2439 BLAKE2B 19f4f49a8b1ab0a818a85877e6c3d2f876fcac59550644d8ec26434ea78da323f37ceb668bcffcbd8557f1c94a2e9d77e340e726862b56c6f55b3deca3b37520 SHA512 194c91d4c82e3083718040c3ebf8c0b25cfd7b0b89d3f7c84a3ae639ecd93b70e4f511e338da883631e2a24a1f1fd97610f97314a228d63a8dc82c79c24be7a5 +EBUILD llvm-20.0.0_pre20241221.ebuild 2439 BLAKE2B 19f4f49a8b1ab0a818a85877e6c3d2f876fcac59550644d8ec26434ea78da323f37ceb668bcffcbd8557f1c94a2e9d77e340e726862b56c6f55b3deca3b37520 SHA512 194c91d4c82e3083718040c3ebf8c0b25cfd7b0b89d3f7c84a3ae639ecd93b70e4f511e338da883631e2a24a1f1fd97610f97314a228d63a8dc82c79c24be7a5 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-ml/llvm/llvm-20.0.0_pre20241221.ebuild b/dev-ml/llvm/llvm-20.0.0_pre20241221.ebuild new file mode 100644 index 000000000000..2b98b4b8952e --- /dev/null +++ b/dev-ml/llvm/llvm-20.0.0_pre20241221.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org llvm-utils python-any-r1 + +DESCRIPTION="OCaml bindings for LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0/${PV}" +IUSE="+debug test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.00.0:0= + dev-ml/ocaml-ctypes:= + ~llvm-core/llvm-${PV}:=[debug?] + !llvm-core/llvm[ocaml(-)] +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + dev-ml/findlib +" + +LLVM_COMPONENTS=( llvm cmake third-party ) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + local libdir=$(get_libdir) + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_OCAML_OUT_OF_TREE=ON + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_BUILD_TESTS=$(usex test) + + # disable various irrelevant deps and settings + -DLLVM_ENABLE_FFI=OFF + -DLLVM_ENABLE_TERMINFO=OFF + -DHAVE_HISTEDIT_H=NO + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DPython3_EXECUTABLE="${PYTHON}" + + # TODO: ocamldoc + ) + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + # also: custom rules for OCaml do not work for CPPFLAGS + use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" + cmake_src_configure + + local llvm_libdir=$(llvm-config --libdir) + # an ugly hack; TODO: figure out a way to pass -L to ocaml... + cd "${BUILD_DIR}/${libdir}" || die + ln -s "${llvm_libdir}"/*.so . || die + + if use test; then + local llvm_bindir=$(llvm-config --bindir) + # Force using system-installed tools. + sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ + "${BUILD_DIR}"/test/lit.site.cfg.py || die + fi +} + +src_compile() { + cmake_build ocaml_all +} + +src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check-llvm-bindings-ocaml +} + +src_install() { + DESTDIR="${D}" \ + cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die + + dodoc bindings/ocaml/README.txt +} diff --git a/dev-ml/xml-light/Manifest b/dev-ml/xml-light/Manifest index 4014ea83455d..9d3782fe242e 100644 --- a/dev-ml/xml-light/Manifest +++ b/dev-ml/xml-light/Manifest @@ -2,8 +2,6 @@ AUX 01_installopt.patch 497 BLAKE2B 87c51b6870d38e935f528aa0b69bcea7a825bca822af AUX 02_cmi_depends.patch 127 BLAKE2B 79d3c29e72e3ad47511173dc961afc1bde4e44da83f3faa3a7b82c04134501b22ac54cb8fe633feb6bd1b23cd340cdbe8e4a957c1914a17830c73853faed92f6 SHA512 7d3e9503f07126c32b3ac74e8f5055e409b54e69059fe8fb34d7558892ffae8e2435b86c4de788dfcfbdc606b99c616e8161d1263737d196e1a45930c21beaa4 AUX 03_cflags.patch 1321 BLAKE2B cc31b252624711dcf3eace32b7ba8169caddf06518c831a9b543b49dba80d6206b873e2abd19599793697a5aceeee4baa28f7ddfb6822566479b935ebc16babb SHA512 86366c45285dd05910c38f1044e73d2a745e6280e4b8b56c40b7adc6f92d65a5836b49af4150c53c06a2a4fa285d91c4f1b1aad4517d6625581560d09598267f AUX 04_dtd_trace.patch 421 BLAKE2B 8bb177b2f0a1735628a95d7af07c55a85552f0a16f7be5b10cf5a2bb5165127885b359a4a60da6096fb47d6dca4cd9a737731121ad26199c31711ebff73d0f92 SHA512 7f28fe7b8d19fa81d60789e3082b4636280c2b5159a0ae7356cea34368596c6cd162da2b0df3e34ffd1b377b6aec0a48ebd468932d4dae0b08e14b0ed49ac8ff -DIST xml-light-2.2.zip 22130 BLAKE2B 95b4bc23be63ef5c6faf529877aaf753e3c9fee99948dff82bab5e3206ea718a71ce1e03a2bdba17ff21c040dc8774312ce752c97450f0420681926524864f58 SHA512 b3be968db1ea8b9f8cc439fc8a685083227a7b07469af17c31993229a506f2ff6b1b0cf2097f4198a71e1d858d166f36c99bb26720136633c233a790764087ed DIST xml-light-2.5.tar.gz 18212 BLAKE2B 94174b0bed12b77647044de5552e3e6bbdbd8aa1c9e4683709d4a51227fd54bbd426de9a0c894ddc73271eefa763dfbc8df75a23b654fc6c681b49826ab082a9 SHA512 95d9d8ede370a9d82ecea08c717ef35f8df56907724596149af29b21871dd9942a4d5742d1fa16d63d4735d65d5529627d26f7bc703249a7f2f62e5479d72310 -EBUILD xml-light-2.2-r3.ebuild 1342 BLAKE2B fbad15ec39adf4adddf32e843f138037ea29a4cdf7581a805d4dd8871aff789854c6d3e6cbc687785ae84d984f8d203b26ba2a1ba977787144de7d2453219443 SHA512 64f69fe8db580afc9a71099b2e47a356ebbebfa32a6143bf926ecc3445fa6d96edb42e3f42b5b5c16beffdd20f54283c899a5cee3fb844a2cddf3ce2facc8cb7 EBUILD xml-light-2.5.ebuild 424 BLAKE2B d8475ca3194a7e4990164359b3c4f0ced1c4b17f645aea684be21edfb4d70724ee5b858a55f511dac3fdea7029ee46ffe38768dd8ab917029adee523617845f1 SHA512 d970f7a046cb2b96437ce66f147497f53f296dc20b99d99fdb679f360e944ffe0dc4c2b14a66aae9967e9ff87db807d8d5f2129d057597e86747aaa1280d7072 MISC metadata.xml 317 BLAKE2B 45e3ab30ce5aba127d112df5b5f45fa14ee8a6a7a3ec82173a08ff68b4176a1e50a23d5039b0ede5699c7282f61bd9fdd21823c475a60c4696415fc24b93aacd SHA512 b0f0cbaedd0baf73104bbe53982e66f4ce6d83c29bc18aab9977b9b375cba928b88aa19f6c856220a9a02deadb3868717c7d0515347fc53113913224734262d5 diff --git a/dev-ml/xml-light/xml-light-2.2-r3.ebuild b/dev-ml/xml-light/xml-light-2.2-r3.ebuild deleted file mode 100644 index 13a88a9f841b..000000000000 --- a/dev-ml/xml-light/xml-light-2.2-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Minimal Xml parser and printer for OCaml" -HOMEPAGE="http://tech.motion-twin.com/xmllight.html" -SRC_URI="http://tech.motion-twin.com/zip/${P}.zip" -S="${WORKDIR}/${PN}" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="doc +ocamlopt" - -RDEPEND="dev-lang/ocaml:=[ocamlopt?]" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/01_installopt.patch - "${FILESDIR}"/02_cmi_depends.patch - "${FILESDIR}"/03_cflags.patch - "${FILESDIR}"/04_dtd_trace.patch -) - -src_compile() { - emake -j1 - - if use ocamlopt; then - emake -j1 opt - fi - - if use doc;then - emake doc - fi -} - -src_test() { - # There are no tests... - : -} - -src_install() { - dodir /usr/$(get_libdir)/ocaml/${PN} - emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml/${PN} install - - cat > "${ED}"/usr/$(get_libdir)/ocaml/${PN}/META || die << EOF -name="${PN}" -version="${PV}" -description="${DESCRIPTION}" -requires="" -archive(byte)="xml-light.cma" -EOF - - if use ocamlopt; then - emake INSTALLDIR="${D}"/usr/$(get_libdir)/ocaml/${PN} installopt - echo 'archive(native)="xml-light.cmxa"' >> "${ED}"/usr/$(get_libdir)/ocaml/${PN}/META || die - fi - - dodoc README - - if use doc; then - emake doc - - docinto html - dodoc doc/* - fi -} |