summaryrefslogtreecommitdiff
path: root/dev-ml/camlpdf
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/camlpdf')
-rw-r--r--dev-ml/camlpdf/Manifest1
-rw-r--r--dev-ml/camlpdf/camlpdf-1.7.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ml/camlpdf/Manifest b/dev-ml/camlpdf/Manifest
new file mode 100644
index 00000000..54f084b9
--- /dev/null
+++ b/dev-ml/camlpdf/Manifest
@@ -0,0 +1 @@
+DIST v1.7.tar.gz 546173 SHA256 57affed94d98a96e44462cdecd4e291329f7f4cce4744389f91461a647a084d4 SHA512 95c3d465f9f240b3f2d4b69ba3596460b6e9a5b5abf2776fae013a44e21180345ddb55a4b9107bc61b86ecaee96e057dc8f0413552321078a3fe432183f8d452 WHIRLPOOL 4f8578ed8c26f7afa6f9d7bcc7a9cb5c924092d5b959704f5a1b515485a9cd4b9dae09da8a6c29f1be3c3686c6b1c48598b9d9a2bc74b44b2ff9a9ca4718ef29
diff --git a/dev-ml/camlpdf/camlpdf-1.7.ebuild b/dev-ml/camlpdf/camlpdf-1.7.ebuild
new file mode 100644
index 00000000..35a260a0
--- /dev/null
+++ b/dev-ml/camlpdf/camlpdf-1.7.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="OCaml library for working with PDF files"
+HOMEPAGE="http://github.com/johnwhitington/camlpdf"
+SRC_URI="http://github.com/johnwhitington/camlpdf/archive/v${PV}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ emake -j1
+ use doc && make doc
+}
+
+src_install() {
+ findlib_src_install
+}