diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-06-23 14:29:50 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-23 14:31:21 +0200 |
commit | 12af6772dd5fd574a4971da2fab398645c48405a (patch) | |
tree | 31254b5582442d1ce429322c3a1bd1188d51717f /dev-ml/atdgen | |
parent | dev-ml/atd: split atdgen again (diff) | |
download | gentoo-12af6772dd5fd574a4971da2fab398645c48405a.tar.gz gentoo-12af6772dd5fd574a4971da2fab398645c48405a.tar.bz2 gentoo-12af6772dd5fd574a4971da2fab398645c48405a.zip |
dev-ml/atdgen: bump to 1.12.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml/atdgen')
-rw-r--r-- | dev-ml/atdgen/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/atdgen/atdgen-1.12.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ml/atdgen/Manifest b/dev-ml/atdgen/Manifest index 9f1a828acb1f..27e6b97e9188 100644 --- a/dev-ml/atdgen/Manifest +++ b/dev-ml/atdgen/Manifest @@ -1,2 +1,3 @@ +DIST atd-1.12.0.tar.gz 145428 SHA256 3e81d562e74374b98c0f383c1ded46beb06d8416d2065645fd68d3b8b0238ddd SHA512 c24601b276da7837bc896bb42b2e0fa91ebfbf07759560c2490ed44bef722dcf8d586aaba1e62abff262805cab89996835611ab9fb68aa096dfc84bb55365475 WHIRLPOOL c39967976d80053680004e8c912af1d37da96e97f76e7056a89fb996ff629aec367ba68cc9783932b9fb49918ed60ef209a80af975535bc0382255e80b7d79c7 DIST atdgen-1.10.0.tar.gz 75447 SHA256 f21834bbba8e9365e1c919554dcb6e30d7db3321d49e44987556ae073cd6a272 SHA512 2dba16a0955b591a972bbd790a5344cf7f79c9485b5a064d3206643defe6c56413678aea389d831892ae1c72ff2fcb3a667731a236a7510fa7e9b4a60a128fb8 WHIRLPOOL 06c4e4215b7372a6975dbffed7b18b94a897a2dbdaa4e70a2a69065b2defde9032d4fa80934b6aae72462a69709b6cbec7892dd64e4725d3cedcbf0de89dd682 DIST atdgen-1.10.2.tar.gz 73418 SHA256 1b063bf7cbffc5d9a33b10d1a5ceba1da4d8d0c09f6db1a3f45780391b760f1b SHA512 5912e339c61516f942e7c80775faf4832007a96e5841e91115d120323a07fdd3945698b39876da3c25302da25ce30ecbab79a6920dd1496b9de4e30f4a2be73a WHIRLPOOL 77197558186f52262a302ff7c297f1561445f2411002daf0ec78f2cc9e9561e645e417a50d0ed37e8cfd620c42aa9831ee8e78f85128a392e104d2d9a91b72de diff --git a/dev-ml/atdgen/atdgen-1.12.0.ebuild b/dev-ml/atdgen/atdgen-1.12.0.ebuild new file mode 100644 index 000000000000..7c98c9ed8ad7 --- /dev/null +++ b/dev-ml/atdgen/atdgen-1.12.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="Generates optimized boilerplate OCaml code for JSON and Biniou IO from type definitions" +HOMEPAGE="https://github.com/mjambon/atd" +SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> atd-${PV}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +DEPEND=" + dev-lang/ocaml:=[ocamlopt?] + dev-ml/atd:= + dev-ml/biniou:= + dev-ml/yojson:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/jbuilder + dev-ml/opam +" + +S="${WORKDIR}/atd-${PV}" + +src_compile() { + jbuilder build -p atdgen || die +} + +oinstall() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${1}.install || die +} + +src_install() { + oinstall atdgen +} |