dev-ml/atd: Initial import. Ebuild by me.
authorAlexis Ballier <aballier@gentoo.org>
Sat, 1 Apr 2017 11:38:20 +0000 (13:38 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 1 Apr 2017 12:24:44 +0000 (14:24 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-ml/atd/Manifest [new file with mode: 0644]
dev-ml/atd/atd-1.2.0.ebuild [new file with mode: 0644]
dev-ml/atd/metadata.xml [new file with mode: 0644]

diff --git a/dev-ml/atd/Manifest b/dev-ml/atd/Manifest
new file mode 100644 (file)
index 0000000..ff0f798
--- /dev/null
@@ -0,0 +1 @@
+DIST atd-1.2.0.tar.gz 41300 SHA256 488e06e406824efab12f53845b648c1a592c2c8349d4ac1e12b94ce61e7453e9 SHA512 a52824c9784ac0f4d6f314972fa1d92be14730de3c6bde04032004579ac27408385bd4fa7d926f9d564657eb62050fd732a032f364bada62a1dc7a8acfacb727 WHIRLPOOL b0fe31df2282e5533c6c5bc769a9dfedfc60b5457ccf5e0b7fed82d1da287b72cee3bf1133891e2abe674afb70df781a94200e17bdb0011a45af3f492ae38b1e
diff --git a/dev-ml/atd/atd-1.2.0.ebuild b/dev-ml/atd/atd-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..fa19f7f
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib
+
+DESCRIPTION="Syntax for cross-language type definitions"
+HOMEPAGE="https://github.com/mjambon/atd"
+SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+DEPEND="
+       dev-lang/ocaml:=[ocamlopt?]
+       dev-ml/easy-format:=[ocamlopt?]
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+       emake -j1 all
+       use ocamlopt && emake opt
+}
+
+src_install() {
+       dodir /usr/bin
+       PREFIX="${ED}/usr" findlib_src_install
+       dodoc README.md
+}
diff --git a/dev-ml/atd/metadata.xml b/dev-ml/atd/metadata.xml
new file mode 100644 (file)
index 0000000..ffac4d7
--- /dev/null
@@ -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>