diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-07-25 14:29:38 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-07-25 15:12:21 +0200 |
commit | 12894a2042ac6f19898f0713077d8484d2ded2bf (patch) | |
tree | a3bb8fc76c9fd43e1683acdb962d66998b315a82 | |
parent | sys-process/fcron: Add support for /etc/conf.d/fcron (bug #622990) (diff) | |
download | gentoo-12894a2042ac6f19898f0713077d8484d2ded2bf.tar.gz gentoo-12894a2042ac6f19898f0713077d8484d2ded2bf.tar.bz2 gentoo-12894a2042ac6f19898f0713077d8484d2ded2bf.zip |
dev-ml/jbuilder: bump to 1.0_beta11
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r-- | dev-ml/jbuilder/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/jbuilder/Manifest b/dev-ml/jbuilder/Manifest index 594b20c4bc44..df7504ba76ce 100644 --- a/dev-ml/jbuilder/Manifest +++ b/dev-ml/jbuilder/Manifest @@ -1 +1,2 @@ DIST jbuilder-1.0-beta10.tar.gz 251576 SHA256 f0a9a1322aba313704884edf39fa46da3e99efddb8c47db41a22cccb9dd59424 SHA512 83945d9cf3c6d61c33b83c4645b6c6b980b13f716a0541cd1833ce98543ca132a7c0efe4a46b5145e61159e7f8223fe4d1d6009b663bafb5fc79a2115fd5f521 WHIRLPOOL 8caf774d4c53cd98fceb031a0005a1fa75bdb49597174f299ed5304ffc0ce21c1f49a02a6b828a060fff29feca0a762b45c4f1a3e6ccb500cd4261c62eef65a9 +DIST jbuilder-1.0-beta11.tar.gz 253922 SHA256 16fdbecfa2eb571daa07fe41f76b853067174cd56edcd58f495736333ad9ecec SHA512 3ec6281d0e9836082b788ec6aa745753705b2f48ebdbe6df9dfe1150c33b97f7aac7a0aea44c2ae2aa278729dca28cb1e4f22844661d79d5020aa2cff1d2ed5b WHIRLPOOL d8d5c5e4219c2bcb89042521541ff9d87b70a9db1610a0fa8d8031f29c25ba04233fcbf1e79782af8385f606b7e046fc7f948cebeafaf321ff9de637b560c012 diff --git a/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild b/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild new file mode 100644 index 000000000000..22e29d5d8751 --- /dev/null +++ b/dev-ml/jbuilder/jbuilder-1.0_beta11.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PV="${PV/_/+}" +MY_P="${PN}-${PV/_/-}" + +DESCRIPTION="A composable build system for OCaml" +HOMEPAGE="https://github.com/janestreet/jbuilder" +SRC_URI="https://github.com/janestreet/jbuilder/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc" +IUSE="test" + +DEPEND="dev-lang/ocaml:=" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/opam + test? ( dev-ml/menhir ) +" +OPAMSWITCH="system" + +S="${WORKDIR}/${MY_P}" +OPAMROOT="${D}" + +src_prepare() { + # Disable Werror like behavior, doesnt build with ocaml 4.05 otherwise + sed -i -e 's/--dev//' Makefile || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} |