summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-24 22:38:36 +0000
committerSam James <sam@gentoo.org>2021-01-24 22:40:32 +0000
commit3f58b419c69b629ea15576c0a863ddf8e747ae73 (patch)
tree1fdee8373df6f7e9c90c5e9f32f2b148e40c293f /dev-ml/camlbz2
parentdev-ml/extlib: bump to 1.7.8 (diff)
downloadgentoo-3f58b419c69b629ea15576c0a863ddf8e747ae73.tar.gz
gentoo-3f58b419c69b629ea15576c0a863ddf8e747ae73.tar.bz2
gentoo-3f58b419c69b629ea15576c0a863ddf8e747ae73.zip
dev-ml/camlbz2: bump to 0.7.0
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-ml/camlbz2')
-rw-r--r--dev-ml/camlbz2/Manifest1
-rw-r--r--dev-ml/camlbz2/camlbz2-0.7.0.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/camlbz2/Manifest b/dev-ml/camlbz2/Manifest
index 91a61a4d5f25..a5845e929016 100644
--- a/dev-ml/camlbz2/Manifest
+++ b/dev-ml/camlbz2/Manifest
@@ -1 +1,2 @@
DIST camlbz2-0.6.0.tar.gz 57771 BLAKE2B 5b4337ca547c37f6982c29c9b70f00ca3100983541a80bf16e8d549c2eabf64ef917ea3ba445c8bb5bbcdb1a652cc5cd586c95299d194a7abe8e68ea9f1a0599 SHA512 1052536bb08c9d9f9bdf4a063a5a01389445b55117ce423dd1732de00cd79db5e4befb4ce5c81c5db8a6d40b28a2ac4b897bb00598fdccf76ea92a2966592680
+DIST camlbz2-0.7.0.tar.gz 22769 BLAKE2B 4bfd1c4e7e4b47e666dc3053bf1536ce71b9d32fa0dff2a11642176431af89f83007bae23c61335eb1153e21300a91193f86a40af7ff0c133d491b6e6a3ec4f6 SHA512 570901199df4b5ef79e158f5309ff69d2b85babe002a0324244868f4201f0e9d6aeec377b2ec9a6bf657a29857dc13a0f63e05d162f76c7d412fa6c5f3c0e0f6
diff --git a/dev-ml/camlbz2/camlbz2-0.7.0.ebuild b/dev-ml/camlbz2/camlbz2-0.7.0.ebuild
new file mode 100644
index 000000000000..735cd9dab6d2
--- /dev/null
+++ b/dev-ml/camlbz2/camlbz2-0.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+AT_M4DIR="m4"
+inherit autotools findlib
+
+DESCRIPTION="OCaml bindings for libbz (AKA, bzip2)"
+HOMEPAGE="https://gitlab.com/irill/camlbz2"
+SRC_URI="https://gitlab.com/irill/camlbz2/-/archive/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+DEPEND="
+ app-arch/bzip2
+ >=dev-lang/ocaml-3.12:=[ocamlopt]
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( ChangeLog README ROADMAP BUGS )
+HTML_DOCS=( doc/. )
+
+src_prepare() {
+ default
+
+ mkdir m4 || die
+ mv ocaml.m4 m4 || die
+
+ eautoreconf
+}
+
+src_compile() {
+ emake -j1 all
+}
+
+src_install() {
+ findlib_src_preinst
+ emake DESTDIR="${OCAMLFIND_DESTDIR}" install
+ use doc && einstalldocs
+}