summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-05-24 10:55:00 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-05-24 11:15:16 +0200
commite12a747bf1ee53690e63e7c78e5a24e4eae59b4d (patch)
treef606b425fc8dd81ffb07e4c9d3312291e36648b1 /dev-ml
parentmedia-libs/elles_icc_profiles: new package. (diff)
downloadgentoo-e12a747bf1ee53690e63e7c78e5a24e4eae59b4d.tar.gz
gentoo-e12a747bf1ee53690e63e7c78e5a24e4eae59b4d.tar.bz2
gentoo-e12a747bf1ee53690e63e7c78e5a24e4eae59b4d.zip
dev-ml/markup: initial import; ebuild by me
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/markup/Manifest1
-rw-r--r--dev-ml/markup/markup-0.7.2.ebuild39
-rw-r--r--dev-ml/markup/metadata.xml8
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ml/markup/Manifest b/dev-ml/markup/Manifest
new file mode 100644
index 000000000000..558828892a02
--- /dev/null
+++ b/dev-ml/markup/Manifest
@@ -0,0 +1 @@
+DIST markup-0.7.2.tar.gz 275010 SHA256 630a737ab6113e17999aacfd55f73b6671211d7980be86f0c711c0b385887c34 SHA512 72a87f54692a0b751c23e6b52bc4ecaa68334b0c6c067793cbf5b011b7d06ce7563f9aa2daeef3553ab48bb6cb9e592587b5a4f37279eaef7b45e19e5b372f73 WHIRLPOOL 679a01c5d197eadf1a8b74247e276405c182acff4c7781b577fbad9fcdc33be164ff81222e79c4e0e5193d1295ee4896ddda547cce1712bfb5ebda050f5bf5ac
diff --git a/dev-ml/markup/markup-0.7.2.ebuild b/dev-ml/markup/markup-0.7.2.ebuild
new file mode 100644
index 000000000000..235c575c1fb4
--- /dev/null
+++ b/dev-ml/markup/markup-0.7.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Error-recovering streaming HTML5 and XML parsers"
+HOMEPAGE="https://github.com/aantron/markup.ml"
+SRC_URI="https://github.com/aantron/markup.ml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+DEPEND="
+ dev-lang/ocaml:=[ocamlopt]
+ dev-ml/lwt:=[ocamlopt]
+ dev-ml/uutf:=[ocamlopt]
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ test? ( dev-ml/ounit )
+ dev-ml/ocamlbuild"
+S="${WORKDIR}/${PN}.ml-${PV}"
+
+src_compile() {
+ emake
+ use doc && emake docs
+}
+
+src_install() {
+ findlib_src_preinst
+ emake ocamlfind-install
+ dodoc README.md
+ use doc && dohtml doc/html/*
+}
diff --git a/dev-ml/markup/metadata.xml b/dev-ml/markup/metadata.xml
new file mode 100644
index 000000000000..ffa6c6b4395b
--- /dev/null
+++ b/dev-ml/markup/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>