mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
New package: bc-java-1.76
This commit is contained in:
parent
d0286a0793
commit
8fb1c4931d
1 changed files with 23 additions and 0 deletions
23
srcpkgs/bc-java/template
Normal file
23
srcpkgs/bc-java/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'bc-java'
|
||||||
|
pkgname=bc-java
|
||||||
|
version=1.76
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="apache-ant openjdk17"
|
||||||
|
depends="virtual?java-runtime"
|
||||||
|
short_desc="Bouncy Castle Java cryptography APIs"
|
||||||
|
maintainer="classabbyamp <void@placeviolette.net>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://www.bouncycastle.org/java.html"
|
||||||
|
distfiles="https://github.com/bcgit/bc-java/archive/refs/tags/r${version/./rv}.tar.gz"
|
||||||
|
checksum=20524a31378291def8e2d7d387550f4f70f34590e431a425d29b64bd57159866
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
export JAVA_HOME=/usr/lib/jvm/openjdk17
|
||||||
|
ant -f ant/jdk18+.xml clean build-provider build
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall build/artifacts/jdk1.8/jars/bcprov-jdk18on-${version/./}.jar 644 /usr/lib/bc-java
|
||||||
|
ln -s bcprov-jdk18on-${version/./}.jar "${DESTDIR}"/usr/lib/bc-java/bcprov.jar
|
||||||
|
vlicense LICENSE.html
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue