dev-ml/ppx_base: initial import

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Alexis Ballier
2017-04-02 10:37:56 +02:00
parent f983374119
commit 60ebfa7ea0
3 changed files with 44 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST ppx_base-0.9.0.tar.gz 5255 SHA256 cd9a7e0fc2ae85684b06398207b1bdf0e69bbc67202ee2916de5d230a1d11a2d SHA512 660f6b210eb6d7bd33c279ffa8bbf01c21b9db5d7827cf6fded8c52e8d4f2f5468a76c2eab86c2b868ac859bbc81db7189c71ccc1701bf57030f82d8eda4339e WHIRLPOOL f02abe49b2e71bac62a00d15e18700b143a5f67390adffdd0a4824c661e166261e7a1be57d87c66326c0107d8056122d0fb620aabc47e1454694928469c44266
+8
View File
@@ -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>
+35
View File
@@ -0,0 +1,35 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Base set of ppx rewriters"
HOMEPAGE="https://github.com/janestreet/ppx_base"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
dev-lang/ocaml:=
dev-ml/ppx_compare:=
dev-ml/ppx_driver:=
dev-ml/ppx_enumerate:=
dev-ml/ppx_hash:=
dev-ml/ppx_js_style:=
dev-ml/ppx_sexp_conv:=
dev-ml/ppx_type_conv:=
dev-ml/ocaml-migrate-parsetree:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
}