summaryrefslogtreecommitdiff
path: root/app-text/cpdf
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/cpdf')
-rw-r--r--app-text/cpdf/Manifest5
-rw-r--r--app-text/cpdf/cpdf-2.1.1-r1.ebuild41
-rw-r--r--app-text/cpdf/metadata.xml11
3 files changed, 57 insertions, 0 deletions
diff --git a/app-text/cpdf/Manifest b/app-text/cpdf/Manifest
new file mode 100644
index 000000000000..bbf22988e0f0
--- /dev/null
+++ b/app-text/cpdf/Manifest
@@ -0,0 +1,5 @@
+DIST cpdf-2.1.1.tar.gz 349536 SHA256 00a3c8b6f1ff60feff7d0b72c095befb576c08edc35ffee28a4d3a24ad599956 SHA512 aa06efaf098d3fe3f560ea30da9c3546e13d294b22d61c4cc3df553eb90e338d59ee1b51d14d7982ce52967bcf98c2afec9a5b5ae101e2183961f4be862c6517 WHIRLPOOL 317af6b976820ddbf3340b75e026f673bd47a7ce4f7de715cd6d71754b1fd403a4fadddffee85023dfd9a6aa44dfeeaf8dfb025784e70d0c33f0418420b80fc3
+EBUILD cpdf-2.1.1-r1.ebuild 815 SHA256 8ff99a71be01fb9de9acc5820fa337a9f88c3951475726d43719fab6f4891a11 SHA512 e51916639a09447f6cefa7d2400c0ea1349f52926acd16b6d4ef250c5a4d865af04501763e0f0d40d78735e426b601c8d88cf171d2cff374898b6b98a3c8fff8 WHIRLPOOL 7a0e644a92475b6ee064aad643c61f4e63983860352da4778e8c76ca3c1a4b4f5bdace904daf0d39f37e9594e349d905bf08b12d951bb0488c289211cd116403
+MISC ChangeLog 2173 SHA256 a5ed10720db42da669d2cb58fd9c571e0c7aa464cc139296d0cb42ec3ce2e424 SHA512 64bac7e317e6e49864b8304b9e1d26d1c0eb7b34ea47bb095570ff360064ae3a1792a3f7c90b34c279c18ceb2ba04fda179698cf54297180a8a5620e106cb8ee WHIRLPOOL 4b4afc8dd7ceebb381c8878b72ce6388a4d72705df5e9a0671d2681c148c5d210cd2096fbb0226959cb4662934b2b033766c3a30c0daef85dfde82fdf5e5cf92
+MISC ChangeLog-2015 985 SHA256 7da17d0a66b8128912bccb9393cb70f7ad4bbf51773dc3ffdedda2efc77942a2 SHA512 05d5a938faa40b5c88c5cb78e2071646362552405617449092903dca4c0f601edfa07a6bf83e367c179795b2787e64ad5189964b3718bff536ac8c78b2ebf13d WHIRLPOOL 6a8d08a96b3b93468f7d47230e86d9363c2c1c605cc574349ef27b3127ce565432699510506a6fed61e67426197687eeeb3174f77ac46ccfa086f862289438ea
+MISC metadata.xml 347 SHA256 637d334828f7e923148ea64bdf6f3de3299e6c500f36980ea7af782a6fcdae03 SHA512 e97b4580d3d0e3c06a6e24aac842e66a354e2a9ea9eb70486383143999a2c8a188bdc5ac2d5672ae1ed83950f94d8fcce3d8c3a4d701009bd4102b88bd4b715d WHIRLPOOL 57c14f390c6c26bdd14c4cf277b6d2f25cafa68607e96c0d72d56f7961eb67e4a0def891b1b059e155c09e335b0642552d7e9bff9210c05d40d737c630aee27f
diff --git a/app-text/cpdf/cpdf-2.1.1-r1.ebuild b/app-text/cpdf/cpdf-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..74a530638f33
--- /dev/null
+++ b/app-text/cpdf/cpdf-2.1.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="A command line tool for manipulating PDF files"
+HOMEPAGE="http://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:=
+ dev-ml/camlpdf:="
+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
+
+ if use doc ; then
+ dodoc cpdfmanual.pdf
+ dohtml doc/cpdf/html/*
+ fi
+}
diff --git a/app-text/cpdf/metadata.xml b/app-text/cpdf/metadata.xml
new file mode 100644
index 000000000000..86681fac3204
--- /dev/null
+++ b/app-text/cpdf/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="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">johnwhitington/cpdf-source</remote-id>
+ </upstream>
+</pkgmetadata>