summaryrefslogtreecommitdiff
path: root/dev-ml/ocaml-expat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/ocaml-expat
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/ocaml-expat')
-rw-r--r--dev-ml/ocaml-expat/Manifest5
-rw-r--r--dev-ml/ocaml-expat/metadata.xml11
-rw-r--r--dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild46
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-ml/ocaml-expat/Manifest b/dev-ml/ocaml-expat/Manifest
new file mode 100644
index 000000000000..3a16e770f6ae
--- /dev/null
+++ b/dev-ml/ocaml-expat/Manifest
@@ -0,0 +1,5 @@
+DIST ocaml-expat-1.0.0.tar.gz 58149 SHA256 69d0bc2bfef2b4310faac2bb984173a26abde5c5758152822f6807774c7abe4f SHA512 217d602ac8fabf7713dcd8fd274206b81ff467402a9bca5b15b13f3b1d68e8e5f2c2970adeafb2378c0993b39c7d98a420dee07f30ad9eb88fd40665a2f98897 WHIRLPOOL 7f3140317bfb44a2980199a4cd09ca641dcfea419317289d1528402afdaa54c1f8bcff02053ad6cebf169441ae6c2ff0906ec7b3772bc3fe7c30cd588d86c445
+EBUILD ocaml-expat-1.0.0.ebuild 799 SHA256 54924d8414e2bdbc69779ff358af2a25b120b0c8cf3a8a2b05c4e1436eef8bef SHA512 441c8b375de084746533a41b878edb94a5ed5494b080da3ca6c9cb57730388f9e79503e2dee486e5d0807e025fcad7c41f5aca669a4e81c9b181a79eceff3d73 WHIRLPOOL 923a538a6a9804402ff1c9d5114eeb822c31385f5140af1da1043afb9e3f24952dee96a49e64486c4b0d424219d20aaed2245890b21c5b2903e5bd30a469fd5b
+MISC ChangeLog 2476 SHA256 37bda1d4ee92b58c8ad269d0f63a832fcaef765e5f63f4adc9b86dcfc11be42b SHA512 09eee12958d71bf2edef955c42b1be710f7fb9c82aab7740e9cdff63e100f87e928cca84cedcf0527ecc24daa956d6132bbca0f7cc2759a83f9a5e296c023320 WHIRLPOOL 17c639c619ed410bb3814ffb40a07b1108f40829b2575e11bf6a98deff8b1cdb81ca43b26d1061db38c5fec7c9100c7d4a5862dae14591af5cf40ffa1007010e
+MISC ChangeLog-2015 1237 SHA256 31462aa2cdb0fda4123550028acb20f571dd5a420242c73581232749af3156c3 SHA512 a89580e21d64b1547b0e1885718b084bba5b1eb1cb8475394a095a2da5e086d160b8fce3d56fa0967b6de8cbce773b671d27ea2e82414f0183f4b3e0fb6fe8f3 WHIRLPOOL 490d7d7f2160d471d464e5ce3b89a945fe152822a388b584b23f7e09488e8d8c36f783166b6c8e607130ed24b31dfa0b2ed7a50f009c3309bde9bf6785f7a8a3
+MISC metadata.xml 344 SHA256 b24ce50c7ad3024a45f5dca504da7b984f50cc260969ebc093d2a4478c60773c SHA512 55896d776b185342170d38e2b36d98359a9bbab592f7740bf0d8de90d3cb8a6184381e824a2dcb22e8497b2d4322362770b538a55c0d3f6cb64cc81f7f58303c WHIRLPOOL b83e0169899b76d6a546a29fed9975a83b5337a7795eb46c64e661dae39d5b9d893b0495ae75ddaf68ba6946319c8216280400b97805fcbc4b9d415483846104
diff --git a/dev-ml/ocaml-expat/metadata.xml b/dev-ml/ocaml-expat/metadata.xml
new file mode 100644
index 000000000000..6b7290909864
--- /dev/null
+++ b/dev-ml/ocaml-expat/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">whitequark/ocaml-expat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild b/dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild
new file mode 100644
index 000000000000..00eeb198ef8d
--- /dev/null
+++ b/dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib eutils
+
+IUSE="doc +ocamlopt test"
+
+DESCRIPTION="OCaml bindings for expat"
+SRC_URI="https://github.com/whitequark/ocaml-expat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/whitequark/ocaml-expat"
+
+RDEPEND="dev-libs/expat
+ >=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
+
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+
+SLOT="0/${PV}"
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+
+src_compile() {
+ emake depend
+ emake all
+ if use ocamlopt; then
+ emake allopt
+ fi
+}
+
+src_test() {
+ emake test
+ if use ocamlopt; then
+ emake testopt
+ fi
+}
+src_install() {
+ findlib_src_preinst
+ emake install
+
+ if use doc ; then
+ dohtml -r doc/html/*
+ fi
+ dodoc README
+}