From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-ml/ocaml-hashcons/Manifest | 6 ++++ dev-ml/ocaml-hashcons/metadata.xml | 11 ++++++++ dev-ml/ocaml-hashcons/ocaml-hashcons-1.2.ebuild | 37 +++++++++++++++++++++++++ dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild | 37 +++++++++++++++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 dev-ml/ocaml-hashcons/Manifest create mode 100644 dev-ml/ocaml-hashcons/metadata.xml create mode 100644 dev-ml/ocaml-hashcons/ocaml-hashcons-1.2.ebuild create mode 100644 dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild (limited to 'dev-ml/ocaml-hashcons') diff --git a/dev-ml/ocaml-hashcons/Manifest b/dev-ml/ocaml-hashcons/Manifest new file mode 100644 index 000000000000..3aad88bf6934 --- /dev/null +++ b/dev-ml/ocaml-hashcons/Manifest @@ -0,0 +1,6 @@ +DIST ocaml-hashcons-1.2.tar.gz 19775 SHA256 de48e8e3e19b8cf84fb4d8d2484f0bb44dc6ced160b0d22b74d4de7236c821bb SHA512 167ed8d74c5080ef14af0ac1232ea16faee3f0e09e0a65cd72447266939ce7ed5416f4cf6a3021e5ca8215726df129d3f05c9e0c12dcd36f845b060fd93072b2 WHIRLPOOL 4d89bbf99826dbc1e5d8e46f03d71357b0b6c6b71ba76f9b7a8dcaa4906b976c4edd30407d0d1cb183e9cb5ef8b11f412fee98beb8eb1d4a6113cc9650eea0a3 +DIST ocaml-hashcons-1.3.tar.gz 19495 SHA256 59c72966f48ea67c694dd49099eca180b52d3da81d4300172ace6edb4a5d72ce SHA512 fd194d48a3231e72ca8bf3d324e5e1f6442d965da9149973a1763cf70aa82398805fa00648bdd12de3d3daada8e90bdc575c73886f949b5183e79bea75beadc8 WHIRLPOOL 67133d354bc96bfbffa269593680183cfd8bf8882383fdddd6a84fccb8702ab5aae440b0d428b19c2f2408ac95d501f654ec678d71c575b2f6d0f38ac8a0b4e0 +EBUILD ocaml-hashcons-1.2.ebuild 856 SHA256 f6643509917f814e64de6c5586cf815289317fdbffbb4e7cd3be5a278e449b6c SHA512 7a0ff44d93330c4ecdd7cfc0f28ec595944d8b917ec427b9ebd09a6fc904fbc02aeecb7012b911f2200cc03abc790af421927b0f04ee3e3adc1e5061cc45c182 WHIRLPOOL 36b23b64c0949620ab2dd04c5bf6b2f623c084e1f0b5bef7943bf569175e63a25b760f676d229f904ca6b2c494f8fe9a489ff0eec550c32092b494b2b159e2c8 +EBUILD ocaml-hashcons-1.3.ebuild 856 SHA256 10fc4e14ceb3a0acc61bf2f8c2d5e4809bcd78d5f27f49a226ab2d0330680e7c SHA512 4b0f2ac976990f2086bbb37f8168b3756ec0fd845483db3eae2ca7f3c7ee7424ba6bdbb14b33b31dbf434654c34fe66cf9d14ec00aa4f833c8b2df8285523714 WHIRLPOOL 062888584818e255e33866a6e5e8b4320801f272228bdfcedf50446e46a63da6f3f0a7ce36f5a9c9460bf00eacc42b3c9c55ac7e8466fe7774268766ba544e16 +MISC ChangeLog 615 SHA256 663bcbe37591b0b681fdc888a30f21675a9554de14200694e5e4e5d4b89adb5f SHA512 d30957917cd6c67f6dfd1d18176f0cee22e2d6f5d912e8297f8d781db7d87e37e43c5a2179bbed7b2994b321e8e5bbfdee528f10a859bf08ca0b7d61b5d53423 WHIRLPOOL 814b29c9d666e9875ef23337969eaa1a4cfed32017411bba1612669c34f3dcf641ad7c7571872801261970c39016b17e878f23c4ad5772a7b1d1abc439a91b82 +MISC metadata.xml 339 SHA256 c5bedc7725e3e0ff29c3f8a599a4ef0bfb4cda587b299335d5f5fbd873c6aa06 SHA512 13e7485cf097bb06448b4336b2fd99e6d21c56aff07ffee4bebe77b7fe7c844d4ce212746e335cd5aec2ad370a61db492d537662d5f1add2f2277107a1b51507 WHIRLPOOL 581393c3695e4f844c3e33d625ad0f5bbf6b3753491d3f156c0a3ff7aa8e684a666a7cf587b4a2f29fe3b582cd4f963d321a4b68cb8ba80d0656ff58ec5b6850 diff --git a/dev-ml/ocaml-hashcons/metadata.xml b/dev-ml/ocaml-hashcons/metadata.xml new file mode 100644 index 000000000000..a079c25ecc03 --- /dev/null +++ b/dev-ml/ocaml-hashcons/metadata.xml @@ -0,0 +1,11 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + + backtracking/ocaml-hashcons + + diff --git a/dev-ml/ocaml-hashcons/ocaml-hashcons-1.2.ebuild b/dev-ml/ocaml-hashcons/ocaml-hashcons-1.2.ebuild new file mode 100644 index 000000000000..e2f3672faae6 --- /dev/null +++ b/dev-ml/ocaml-hashcons/ocaml-hashcons-1.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools findlib + +DESCRIPTION="OCaml hash-consing library" +HOMEPAGE="https://github.com/backtracking/ocaml-hashcons" +SRC_URI="https://github.com/backtracking/ocaml-hashcons/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +RDEPEND="dev-lang/ocaml:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +src_prepare() { + eautoreconf + sed -i -e 's/$(OCAMLFIND) remove/#/' Makefile.in || die +} + +src_compile() { + if use ocamlopt; then + emake opt byte + else + emake byte + fi +} + +src_install() { + dodir "$(ocamlfind printconf destdir)/hashcons" + emake DESTDIR="-destdir ${D}/$(ocamlfind printconf destdir)/" $(usex ocamlopt install-opt install-byte) + dodoc README.md CHANGES +} diff --git a/dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild b/dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild new file mode 100644 index 000000000000..7b027961ea87 --- /dev/null +++ b/dev-ml/ocaml-hashcons/ocaml-hashcons-1.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools findlib + +DESCRIPTION="OCaml hash-consing library" +HOMEPAGE="https://github.com/backtracking/ocaml-hashcons" +SRC_URI="https://github.com/backtracking/ocaml-hashcons/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +RDEPEND="dev-lang/ocaml:=[ocamlopt?]" +DEPEND="${RDEPEND}" + +src_prepare() { + eautoreconf + sed -i -e 's/$(OCAMLFIND) remove/#/' Makefile.in || die +} + +src_compile() { + if use ocamlopt; then + emake opt byte + else + emake byte + fi +} + +src_install() { + dodir "$(ocamlfind printconf destdir)/hashcons" + emake DESTDIR="-destdir ${D}/$(ocamlfind printconf destdir)/" $(usex ocamlopt install-opt install-byte) + dodoc README.md CHANGES +} -- cgit v1.2.3