You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
663 B
35 lines
663 B
# 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/pdftk-java/pdftk"
|
|
EGIT_REPO_URI="https://gitlab.com/pdftk-java/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
|
|
}
|