mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ml/ppx_variants_conv: initial import; ebuild by me
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
1
dev-ml/ppx_variants_conv/Manifest
Normal file
1
dev-ml/ppx_variants_conv/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST ppx_variants_conv-113.24.00.tar.gz 55571 SHA256 753ee2c6c9115c4aed5069fd6792c3709bae1fa9f12356641aecd317be18ecd7 SHA512 3e4844defd3f29ee7a2435fefa3de1261e9b205700b3563f6b655d692cceaba17a3545785fd5b449d507312aa9e669b3943be3032151ea7b368f44adffaa64d5 WHIRLPOOL f11e264ddab17294eab0a779312aa0bcad8b0e06568d927fe97b2d5fd693ad56fcd5939147a162c01c00453b7d050e33a8396bcf97044ad88b1ef7c55c4578c5
|
||||
8
dev-ml/ppx_variants_conv/metadata.xml
Normal file
8
dev-ml/ppx_variants_conv/metadata.xml
Normal 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>
|
||||
43
dev-ml/ppx_variants_conv/ppx_variants_conv-113.24.00.ebuild
Normal file
43
dev-ml/ppx_variants_conv/ppx_variants_conv-113.24.00.ebuild
Normal file
@@ -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="Generation of accessor and iteration functions for ocaml variant types"
|
||||
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_type_conv:=
|
||||
dev-ml/variantslib:=
|
||||
"
|
||||
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 CHANGES.md
|
||||
}
|
||||
Reference in New Issue
Block a user