[dev-java/jss] bump

This commit is contained in:
Robert Förster 2020-09-15 23:19:24 +02:00
parent fda46cb7ca
commit ff0ad1222a
3 changed files with 65 additions and 0 deletions

1
dev-java/jss/Manifest Normal file
View File

@ -0,0 +1 @@
DIST jss-4.7.2.tar.gz 984602 BLAKE2B f9f885f13bed4863a507c44daa84854d468650c1b887c5b93ab2403751351a513304b2c6bee24e574c00ea136f59fd0629f8d85bd8eecb4f967424a7d7be3b5d SHA512 171b4c341b56c49eaedf0663cee7c949bd91f070781debc80b7b74f85eeacc5e4092cc5ab8eb3ace926493a7ea64d08c5c7a614dccd2e479f8b371b6075d6594

View File

@ -0,0 +1,48 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit cmake java-utils-2 toolchain-funcs
DESCRIPTION="Network Security Services for Java (JSS)"
HOMEPAGE="http://www.dogtagpki.org/wiki/JSS"
SRC_URI="https://github.com/dogtagpki/jss/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-1.1"
SLOT="$(ver_cut 1-2)"
KEYWORDS="~amd64 ~x86"
IUSE="test"
CDEPEND=">=dev-libs/nspr-4.13.1
>=dev-libs/nss-3.44
dev-java/slf4j-api
dev-java/commons-lang:2.1"
DEPEND="${CDEPEND}
>=virtual/jdk-1.8
dev-java/junit:4
test? (
dev-libs/nss[utils]
)"
RDEPEND="${CDEPEND}
>=virtual/jre-1.8
test? ( dev-java/slf4j-jdk14 )"
src_configure() {
local mycmakeargs=(
-DSLF4J_API_JAR=$(java-pkg_getjars slf4j-api)
-DLANG_JAR=$(java-pkg_getjars commons-lang:2.1)
-DJAXB_JAR=/usr/share/jaxb/jaxb-api.jar
-DJUNIT4_JAR=$(java-pkg_getjars junit:4)
)
cmake_src_configure
}
src_install() {
java-pkg_doso "${BUILD_DIR}"/libjss4.so
java-pkg_dojar "${BUILD_DIR}"/jss4.jar
# ln -s /usr/share/jss-$(ver_cut 1-2)/lib/jss4.jar "${ED}"/usr/$(get_libdir)/jss-$(ver_cut 1-2)/jss4.jar
}

16
dev-java/jss/metadata.xml Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<longdescription>
Network Security Services for Java (JSS) is a Java interface to NSS. It supports
most of the security standards and encryption technologies supported by NSS. JSS
also provides a pure Java interface for ASN.1 types and BER/DER encoding.
</longdescription>
</pkgmetadata>