Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/atd/
Date: Sat, 01 Apr 2017 12:25:24
Message-Id: 1491049484.2b926560846c14843a96f1d8aa1c5be27828ede4.aballier@gentoo
1 commit: 2b926560846c14843a96f1d8aa1c5be27828ede4
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 11:38:20 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 12:24:44 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b926560
7
8 dev-ml/atd: Initial import. Ebuild by me.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-ml/atd/Manifest | 1 +
13 dev-ml/atd/atd-1.2.0.ebuild | 32 ++++++++++++++++++++++++++++++++
14 dev-ml/atd/metadata.xml | 8 ++++++++
15 3 files changed, 41 insertions(+)
16
17 diff --git a/dev-ml/atd/Manifest b/dev-ml/atd/Manifest
18 new file mode 100644
19 index 00000000000..ff0f798a76d
20 --- /dev/null
21 +++ b/dev-ml/atd/Manifest
22 @@ -0,0 +1 @@
23 +DIST atd-1.2.0.tar.gz 41300 SHA256 488e06e406824efab12f53845b648c1a592c2c8349d4ac1e12b94ce61e7453e9 SHA512 a52824c9784ac0f4d6f314972fa1d92be14730de3c6bde04032004579ac27408385bd4fa7d926f9d564657eb62050fd732a032f364bada62a1dc7a8acfacb727 WHIRLPOOL b0fe31df2282e5533c6c5bc769a9dfedfc60b5457ccf5e0b7fed82d1da287b72cee3bf1133891e2abe674afb70df781a94200e17bdb0011a45af3f492ae38b1e
24
25 diff --git a/dev-ml/atd/atd-1.2.0.ebuild b/dev-ml/atd/atd-1.2.0.ebuild
26 new file mode 100644
27 index 00000000000..fa19f7ffc25
28 --- /dev/null
29 +++ b/dev-ml/atd/atd-1.2.0.ebuild
30 @@ -0,0 +1,32 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit findlib
37 +
38 +DESCRIPTION="Syntax for cross-language type definitions"
39 +HOMEPAGE="https://github.com/mjambon/atd"
40 +SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0/${PV}"
44 +KEYWORDS="~amd64"
45 +IUSE="+ocamlopt"
46 +
47 +DEPEND="
48 + dev-lang/ocaml:=[ocamlopt?]
49 + dev-ml/easy-format:=[ocamlopt?]
50 +"
51 +RDEPEND="${DEPEND}"
52 +
53 +src_compile() {
54 + emake -j1 all
55 + use ocamlopt && emake opt
56 +}
57 +
58 +src_install() {
59 + dodir /usr/bin
60 + PREFIX="${ED}/usr" findlib_src_install
61 + dodoc README.md
62 +}
63
64 diff --git a/dev-ml/atd/metadata.xml b/dev-ml/atd/metadata.xml
65 new file mode 100644
66 index 00000000000..ffac4d7ebc0
67 --- /dev/null
68 +++ b/dev-ml/atd/metadata.xml
69 @@ -0,0 +1,8 @@
70 +<?xml version="1.0" encoding="UTF-8"?>
71 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
72 +<pkgmetadata>
73 +<maintainer type="project">
74 + <email>ml@g.o</email>
75 + <name>Gentoo ML Project</name>
76 +</maintainer>
77 +</pkgmetadata>