diff options
Diffstat (limited to 'dev-ml/atdgen')
-rw-r--r-- | dev-ml/atdgen/Manifest | 7 | ||||
-rw-r--r-- | dev-ml/atdgen/atdgen-1.10.0.ebuild | 34 | ||||
-rw-r--r-- | dev-ml/atdgen/atdgen-1.10.2.ebuild | 35 | ||||
-rw-r--r-- | dev-ml/atdgen/atdgen-1.12.0.ebuild | 45 | ||||
-rw-r--r-- | dev-ml/atdgen/metadata.xml | 11 |
5 files changed, 132 insertions, 0 deletions
diff --git a/dev-ml/atdgen/Manifest b/dev-ml/atdgen/Manifest new file mode 100644 index 000000000000..3d60fe62f817 --- /dev/null +++ b/dev-ml/atdgen/Manifest @@ -0,0 +1,7 @@ +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 +EBUILD atdgen-1.10.0.ebuild 700 SHA256 229759cb1781d720c39f6b211d8cf14b44ec9246c0ffd01c7473d0f238821542 SHA512 b84cd67ac003a0129bfe65b5a1784efba0eeec2db61e01f03552cbce5cb4e6d1f103edd7e7390d9166b0f14b5fba3c3c03445433f213d78321b567c7e4e84cd2 WHIRLPOOL fe3ae4605d857d373b569def952ca15f0a1db0a29e971010b82d3074dc8781471dd93694d5f1fd420f641eec28c0fd4d8f83868475450880b2c945500d80ebc6 +EBUILD atdgen-1.10.2.ebuild 763 SHA256 41d864e2eb94ec0e82b82401be1d8f9c6ad3b9b6ce18d52e5e049bac2bf7517b SHA512 59d289cea2d2925a720ffacb3e9011fc8315c1e7b664623c4b33df6ffa3648bd2b79e813fe4d2124fd988795278a95b47d178fea0e51db6856fc7cf98f634607 WHIRLPOOL 338171a1e284cb74bde7182ad7c6669667e596b8060cd147eb36122099e0d2582f586b48eb26ee3d85980b3b23bcd7e1b68e2ec11a8f7a5f5571afbf264edf66 +EBUILD atdgen-1.12.0.ebuild 850 SHA256 470144ff13f327a942e0896c996d4765d81572b79dcd0fabbd2167dfd7a97e69 SHA512 4a51365b5607a577712f617f4de683b4e740abd1b0b828a9e7c7cfa504aae6472a5c850c5a87456d21b5072abd042048a31706f0db8ed635b7b77e28bb0e2135 WHIRLPOOL 4c92011e8a01b4b79d28a762ebed6e72cbcd60b2a2df025ad1dec712694d5c24bed840eeffa08c94b81d2b7f5621b9d61bf0d34f00a866b83d8f625f4f68d48e +MISC metadata.xml 326 SHA256 ae189d6516a9d7f2ff96f9a9b58b472bf4c19a392e198d8df5c5d48269b5d243 SHA512 50ed189b3488c2a9fdb2c185194af291c20095d7f5358c18b02783b0e20cad33162d8b0ed5b50bfb81b2b1b4b13c65b2b7e2a4c463ef470cbb90fd29f3068803 WHIRLPOOL 0917a54d632d728213f6908d64cc2386940171fd639e9ce7ab049bcf437c2b990f92d0e0405a75df538e01f418826f455fff762c73bb9e6bac2930c721c15135 diff --git a/dev-ml/atdgen/atdgen-1.10.0.ebuild b/dev-ml/atdgen/atdgen-1.10.0.ebuild new file mode 100644 index 000000000000..3460991bad5f --- /dev/null +++ b/dev-ml/atdgen/atdgen-1.10.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="Generates boilerplate OCaml code for JSON and Biniou IO from type definitions" +HOMEPAGE="https://github.com/mjambon/atdgen" +SRC_URI="https://github.com/mjambon/atdgen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +DEPEND=" + dev-lang/ocaml:=[ocamlopt?] + dev-ml/atd:=[ocamlopt?] + dev-ml/biniou:=[ocamlopt?] + dev-ml/yojson:= +" +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/atdgen/atdgen-1.10.2.ebuild b/dev-ml/atdgen/atdgen-1.10.2.ebuild new file mode 100644 index 000000000000..e9694f441a7b --- /dev/null +++ b/dev-ml/atdgen/atdgen-1.10.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit findlib + +DESCRIPTION="Generates boilerplate OCaml code for JSON and Biniou IO from type definitions" +HOMEPAGE="https://github.com/mjambon/atdgen" +SRC_URI="https://github.com/mjambon/atdgen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt" + +DEPEND=" + dev-lang/ocaml:=[ocamlopt?] + dev-ml/atd:=[ocamlopt?] + dev-ml/biniou:=[ocamlopt?] + dev-ml/yojson:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/jbuilder + dev-ml/opam +" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die +} 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..84fa4a2c68a5 --- /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 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 +} diff --git a/dev-ml/atdgen/metadata.xml b/dev-ml/atdgen/metadata.xml new file mode 100644 index 000000000000..3bc3fdf37cf0 --- /dev/null +++ b/dev-ml/atdgen/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="github">mjambon/atdgen</remote-id> + </upstream> +</pkgmetadata> |