Skip to content
Snippets Groups Projects
Commit 9955b637 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/java-jffi: enable for all archs

openjdk8 is now built for all archs
parent bdb14419
No related merge requests found
......@@ -4,11 +4,10 @@ pkgname=java-jffi
_pkgname=${pkgname#java-}
pkgver=1.2.12
_libver=${pkgver%.*}
pkgrel=0
pkgrel=1
pkgdesc="Java Foreign Function Interface"
url="https://github.com/jnr/jffi"
# openjdk8 is currently build only for x86*
arch="x86 x86_64"
arch="noarch"
license="ASL-2.0"
depends="openjdk8-jre-base"
makedepends="apache-ant file openjdk8"
......@@ -22,7 +21,6 @@ build() {
}
package() {
arch="noarch"
depends="$pkgname-native"
install -m644 -D "$builddir"/dist/jffi.jar \
......@@ -31,6 +29,8 @@ package() {
}
native() {
arch="all"
# Note: jffi expects file named libjffi-x.y.so, not libjffi.so.x.y.
install -m755 -D "$builddir"/build/jni/libjffi-$_libver.so \
"$subpkgdir"/usr/lib/libjffi-$_libver.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment