Skip to content

Commit

Permalink
dev-ml/ppx_sexp_message: initial import; ebuild by me
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Feb 5, 2016
1 parent f39173d commit 9bb9237
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ml/ppx_sexp_message/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST ppx_sexp_message-113.24.00.tar.gz 54126 SHA256 477ab986bcc5364b201ee49a51641038d0517cea6c29cedc9ba3dc6c753f2010 SHA512 9e216a66fe649c158748a5add0e261f6553572785503ebf1e3ca92688aa24a944f40268d6408ea16fe0ec5672f73d1208ab8ac70a6b0d5a29f92ef6e87256588 WHIRLPOOL 13a5dbaa70056c442fad65d6e40dd8363125458cacfb17deae6a454942c04464c6de5f7fa1d284143cf93be7be6b3642dbdce33fbf95cf054f9c941731fd69e1
8 changes: 8 additions & 0 deletions dev-ml/ppx_sexp_message/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Gentoo ML Project</name>
</maintainer>
</pkgmetadata>
43 changes: 43 additions & 0 deletions dev-ml/ppx_sexp_message/ppx_sexp_message-113.24.00.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

inherit oasis

DESCRIPTION="A ppx rewriter for easy construction of s-expressions"
HOMEPAGE="http://www.janestreet.com/ocaml"
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

DEPEND="dev-ml/ppx_tools:=
dev-ml/ppx_core:=
dev-ml/ppx_driver:=
dev-ml/ppx_here:=
dev-ml/ppx_sexp_conv:=
"
RDEPEND="${DEPEND}"
DEPEND="${DEPEND} dev-ml/opam"

src_configure() {
emake setup.exe
OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
}

src_compile() {
emake
}

src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc README.md
}

0 comments on commit 9bb9237

Please sign in to comment.