New package: grpc-1.19.1

This commit is contained in:
Leah Neukirchen 2019-05-03 16:36:40 +02:00
parent 4424d85a17
commit 1779485d50
3 changed files with 47 additions and 0 deletions

View file

@ -3450,3 +3450,14 @@ liboblibs.so.0.0 oblibs-0.0.1.1_1
libaal-1.0.so.7 libaal-1.0.7_1 libaal-1.0.so.7 libaal-1.0.7_1
libaal-minimal.so.0 libaal-1.0.7_1 libaal-minimal.so.0 libaal-1.0.7_1
libcli.so.1.9 libcli-1.9.8.4_1 libcli.so.1.9 libcli-1.9.8.4_1
libaddress_sorting.so.7 grpc-1.19.1_1
libgpr.so.7 grpc-1.19.1_1
libgrpc++.so.1 grpc-1.19.1_1
libgrpc++_cronet.so.1 grpc-1.19.1_1
libgrpc++_error_details.so.1 grpc-1.19.1_1
libgrpc++_reflection.so.1 grpc-1.19.1_1
libgrpc++_unsecure.so.1 grpc-1.19.1_1
libgrpc.so.7 grpc-1.19.1_1
libgrpc_cronet.so.7 grpc-1.19.1_1
libgrpc_unsecure.so.7 grpc-1.19.1_1
libgrpcpp_channelz.so.1 grpc-1.19.1_1

1
srcpkgs/grpc-devel Symbolic link
View file

@ -0,0 +1 @@
grpc

35
srcpkgs/grpc/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'grpc'
pkgname=grpc
version=1.19.1
revision=1
build_style=gnu-makefile
make_build_args="prefix=\$(DESTDIR)/usr AROPTS=rc LD=\$(CC)"
make_install_args="prefix=\$(DESTDIR)/usr"
hostmakedepends="protobuf"
makedepends="zlib-devel c-ares-devel libressl-devel libprotoc-devel protobuf-devel gperftools-devel"
depends=""
short_desc="High performance, open source, general RPC framework"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://github.com/grpc/grpc"
distfiles="https://github.com/$pkgname/$pkgname/archive/v${version}/$pkgname-${version}.tar.gz"
checksum=f869c648090e8bddaa1260a271b1089caccbe735bf47ac9cd7d44d35a02fb129
nocross=yes
post_extract() {
sed -r 's/-Werror//g;/ldconfig/d;s/ strip-(static|shared)_c(xx)? / /' -i Makefile
}
post_install() {
vlicense NOTICE.txt
}
grpc-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}