summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-12-27 11:46:05 -0700
committerTim Harder <radhermit@gentoo.org>2019-12-27 12:10:32 -0700
commita094d7a5e61c22722316abf9091863fc016d20f8 (patch)
treee0daae0c643224d9764efe6718f04c648caead1d /app-text/cpdf/cpdf-2.3.1.ebuild
parentdev-ml/camlpdf: version bump to 2.3.1 (diff)
downloadgentoo-a094d7a5e61c22722316abf9091863fc016d20f8.tar.gz
gentoo-a094d7a5e61c22722316abf9091863fc016d20f8.tar.bz2
gentoo-a094d7a5e61c22722316abf9091863fc016d20f8.zip
app-text/cpdf: version bump to 2.3.1
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'app-text/cpdf/cpdf-2.3.1.ebuild')
-rw-r--r--app-text/cpdf/cpdf-2.3.1.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/cpdf/cpdf-2.3.1.ebuild b/app-text/cpdf/cpdf-2.3.1.ebuild
new file mode 100644
index 000000000000..3df1825ad110
--- /dev/null
+++ b/app-text/cpdf/cpdf-2.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit findlib
+
+DESCRIPTION="A command line tool for manipulating PDF files"
+HOMEPAGE="https://community.coherentpdf.com/ https://github.com/johnwhitington/cpdf-source/"
+SRC_URI="https://github.com/johnwhitington/cpdf-source/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+# BSD is only for xmlm.ml
+LICENSE="Coherent-Graphics BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt]
+ ~dev-ml/camlpdf-${PV}:="
+DEPEND="${RDEPEND}"
+
+RESTRICT="mirror bindist"
+
+S=${WORKDIR}/${PN}-source-${PV}
+
+src_compile() {
+ # parallel make issues
+ emake -j1
+}
+
+src_install() {
+ findlib_src_install
+
+ dobin cpdf
+ dodoc Changes README.md cpdfmanual.pdf
+ doman cpdf.1
+
+ use doc && dodoc -r doc/cpdf/html
+}