summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharIes17 <charles17@arcor.de>2018-03-30 16:40:11 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-04-09 00:42:07 +0200
commit09e0550990ea6cf5232ba3c0a11c933aa01d52d6 (patch)
tree089f97521fee36b1a10a4c234a2846d2816ae88a
parentapp-doc/gimp-help: add missing depend on libxml2. (diff)
downloadgentoo-09e0550990ea6cf5232ba3c0a11c933aa01d52d6.tar.gz
gentoo-09e0550990ea6cf5232ba3c0a11c933aa01d52d6.tar.bz2
gentoo-09e0550990ea6cf5232ba3c0a11c933aa01d52d6.zip
app-text/pdftk: add live ebuild with different upstream.
Bug: https://bugs.gentoo.org/562568 See https://forums.gentoo.org/viewtopic-p-8187088.html#8187088 Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7712
-rw-r--r--app-text/pdftk/pdftk-9999.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild
new file mode 100644
index 000000000000..38734756ceba
--- /dev/null
+++ b/app-text/pdftk/pdftk-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3 java-pkg-2 java-ant-2
+
+DESCRIPTION="gcj-free version of pdftk written in Java"
+HOMEPAGE="https://gitlab.com/marcvinyals/pdftk"
+EGIT_REPO_URI="https://gitlab.com/marcvinyals/pdftk/"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+JAVA_PKG_STRICT="yes"
+EANT_GENTOO_CLASSPATH="bcprov,commons-lang-3.6"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+CDEPEND="
+ dev-java/bcprov:0
+ dev-java/commons-lang:3.6"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.7"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.7"
+
+src_install() {
+ java-pkg_newjar "build/jar/pdftk.jar"
+ java-pkg_dolauncher
+}