forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ml/ppx_sexp_message: initial import; ebuild by me
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <[email protected]>
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |