diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-07-24 13:17:25 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-24 13:17:51 +0200 |
commit | 551e27a2d9be237f156542617735eeb72e2e1e1d (patch) | |
tree | 316413a7271998c0f0d3d5312b6f09aa0594b501 /dev-ml | |
parent | dev-ml/angstrom-async: import split 0.6 package (diff) | |
download | gentoo-551e27a2d9be237f156542617735eeb72e2e1e1d.tar.gz gentoo-551e27a2d9be237f156542617735eeb72e2e1e1d.tar.bz2 gentoo-551e27a2d9be237f156542617735eeb72e2e1e1d.zip |
dev-ml/angstrom-lwt-unix: import split 0.6 package
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/angstrom-lwt-unix/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/angstrom-lwt-unix/angstrom-lwt-unix-0.6.0.ebuild | 43 | ||||
-rw-r--r-- | dev-ml/angstrom-lwt-unix/metadata.xml | 11 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ml/angstrom-lwt-unix/Manifest b/dev-ml/angstrom-lwt-unix/Manifest new file mode 100644 index 000000000000..693923160ef2 --- /dev/null +++ b/dev-ml/angstrom-lwt-unix/Manifest @@ -0,0 +1 @@ +DIST angstrom-0.6.0.tar.gz 80393 SHA256 9080c6ad32ee5c31ae5b754370328daa5febb219ae2a1e8390fb469622dca7ee SHA512 4b03022f3e8147075653a9740473ce23fc42ba8c559f1b86311132fa1a09cfac0f044cb3a8c9fc2d97f4acef35806b4742606b0af22d6b07058e8a78c6672618 WHIRLPOOL a79f7e522e645b605eabb155c604cf6e2e435e9325551a22efbe5c1b12f57726c8ccdad510ef618cc510b409acc6cb86204630ecb4cf1af6d1adc628bb19dd33 diff --git a/dev-ml/angstrom-lwt-unix/angstrom-lwt-unix-0.6.0.ebuild b/dev-ml/angstrom-lwt-unix/angstrom-lwt-unix-0.6.0.ebuild new file mode 100644 index 000000000000..3eb214d1d49a --- /dev/null +++ b/dev-ml/angstrom-lwt-unix/angstrom-lwt-unix-0.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="Parser combinators built for speed and memory efficiency" +HOMEPAGE="https://github.com/inhabitedtype/angstrom" +SRC_URI="https://github.com/inhabitedtype/angstrom/archive/${PV}.tar.gz -> angstrom-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + dev-lang/ocaml:= + dev-ml/angstrom:= + dev-ml/lwt:= +" +DEPEND="${RDEPEND} + dev-ml/jbuilder + dev-ml/opam" + +S="${WORKDIR}/angstrom-${PV}" + +src_compile() { + jbuilder build -p ${PN} || die +} + +src_test() { + jbuilder runtest -p ${PN} +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} diff --git a/dev-ml/angstrom-lwt-unix/metadata.xml b/dev-ml/angstrom-lwt-unix/metadata.xml new file mode 100644 index 000000000000..6a85d809eb32 --- /dev/null +++ b/dev-ml/angstrom-lwt-unix/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">inhabitedtype/angstrom</remote-id> + </upstream> +</pkgmetadata> |