aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-jffi/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-30 23:02:50 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-30 23:05:55 +0200
commit9955b6371bd575c1f1e998a58bd11fda9f28adff (patch)
tree21c97c47bf502998e39aa2ad776cbac7816d7f11 /community/java-jffi/APKBUILD
parentbdb14419097d3dfc5ea12dc662ccb5d0772506b1 (diff)
downloadaports-9955b6371bd575c1f1e998a58bd11fda9f28adff.tar.bz2
aports-9955b6371bd575c1f1e998a58bd11fda9f28adff.tar.xz
community/java-jffi: enable for all archs
openjdk8 is now built for all archs
Diffstat (limited to 'community/java-jffi/APKBUILD')
-rw-r--r--community/java-jffi/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/java-jffi/APKBUILD b/community/java-jffi/APKBUILD
index 6653462df8..5ff276eb2d 100644
--- a/community/java-jffi/APKBUILD
+++ b/community/java-jffi/APKBUILD
@@ -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