mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 11:22:30 +01:00
This makes it possible to provide armv7 as additional architecture in Alpine, next to armhf. See the discussion in this ML thread: <https://lists.alpinelinux.org/alpine-devel/6271.html> It's done by adding armv7 next to armhf in the arch line and also !armv7 where the arch line said !armhf. The following script was used:
27 lines
998 B
Plaintext
27 lines
998 B
Plaintext
# Contributor: wener <wenermail@gmail.com>
|
|
# Maintainer: wener <wenermail@gmail.com>
|
|
pkgname=grpc-java
|
|
pkgver=1.14.0
|
|
pkgrel=0
|
|
pkgdesc="The Java gRPC implementation. HTTP/2 based RPC"
|
|
url="https://github.com/grpc/grpc-java"
|
|
arch="all !aarch64 !armhf !armv7 !s390x" # fails to build on aarch64 and armhf for some strange reason
|
|
license="Apache2"
|
|
depends="openjdk8-jre"
|
|
makedepends="openjdk8 protobuf-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/grpc/grpc-java/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
options="!check"
|
|
|
|
build() {
|
|
export GRADLE_USER_HOME="$srcdir"/.gradle
|
|
cd "$builddir"/compiler
|
|
../gradlew --no-daemon --parallel --info java_pluginExecutable
|
|
}
|
|
|
|
package() {
|
|
install -D -m 755 "$builddir"/compiler/build/exe/java_plugin/protoc-gen-grpc-java "$pkgdir"/usr/bin/protoc-gen-grpc-java
|
|
}
|
|
|
|
sha512sums="b947cd2d24817a171b54ae849aed1b8af7103a341d4b7bc7d10fc11221e2f3b135812563d96210e59f16df2afe1faa13b06a34d3adca987f7b227ac84165be78 grpc-java-1.14.0.tar.gz"
|