From 8e6b980c18fd9a6a2023eaeb4bf95bf236619e31 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Mon, 18 Nov 2019 14:38:12 -0700 Subject: dev-ml/camlpdf: version bump to 2.3 Signed-off-by: Tim Harder --- dev-ml/camlpdf/Manifest | 1 + dev-ml/camlpdf/camlpdf-2.3.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-ml/camlpdf/camlpdf-2.3.ebuild (limited to 'dev-ml/camlpdf') diff --git a/dev-ml/camlpdf/Manifest b/dev-ml/camlpdf/Manifest index 2980c627bd18..5fd4e2aa9b0a 100644 --- a/dev-ml/camlpdf/Manifest +++ b/dev-ml/camlpdf/Manifest @@ -1,2 +1,3 @@ DIST camlpdf-2.1.1.tar.gz 563633 BLAKE2B 3ff7ec46bbac70eabe6695911e834a5f2122136fecba661ff708c86dfb8d928694d67054504028670c3138c600f7f770b540d87c4e1a0ed1e04c71e083afdc23 SHA512 db6f9f61c43113e1f4d8741d88766bacc489a45b8e7164e4619f8bb88c527bc7cbeebdaaa673a77ab16c60dc3c90d21a69844e9fed92c222fc8fe0424f328cf2 DIST camlpdf-2.2.1.tar.gz 570782 BLAKE2B 218dc3f0de67eebd983a849769372daa5630b1c5b4f488f4eeb1c73defc8da76ce65c73e43dc6fed5474f78aa01331a93e83ae6289aa099d71e30cd6c13f0777 SHA512 7539294434479b529edb7b46017f324b98bc0b83d25c1254a52ab1b67f8e3e04c2b8709ba22c6a0ac5e4444c65ef37e4645a495ea3ee011d3e95cd3021d559c2 +DIST camlpdf-2.3.tar.gz 601250 BLAKE2B 9b2a7f6a90d33a69d3a6c15c4c299e7fde4633a78cbd43e1b779f713d371ee16dc588449e024e35a83cef8c24d7059844c92f3354391381437bea37595b604a7 SHA512 dfb81692f894f071bb32634e371cdb202af17f671fb1b9c379ff3d360453a0909c3b6d9960aae45cac49e20f06aeb49ad6db276324542e7be306831ef586d255 diff --git a/dev-ml/camlpdf/camlpdf-2.3.ebuild b/dev-ml/camlpdf/camlpdf-2.3.ebuild new file mode 100644 index 000000000000..965e0ef70c14 --- /dev/null +++ b/dev-ml/camlpdf/camlpdf-2.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit findlib + +DESCRIPTION="OCaml library for reading, writing, and modifying PDF files" +HOMEPAGE="https://github.com/johnwhitington/camlpdf/" +SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +# technically LGPL-2.1+ with linking exception +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND="dev-lang/ocaml:=[ocamlopt]" +DEPEND="${RDEPEND}" + +src_compile() { + # parallel make bugs + emake -j1 +} + +src_install() { + findlib_src_install + dodoc Changes README.md + + if use doc ; then + dodoc introduction_to_camlpdf.pdf + dodoc -r doc/camlpdf/html + fi + + use examples && dodoc -r examples +} -- cgit v1.2.3-65-gdbad