pkgsrc/net/grpc/Makefile
minskim c90e1da8d7 net/grpc: Update to 1.13.1
Notable changes since 1.11.0:
- Make GrpcBuffer{Reader|Writer} Public
- Compile Out Tracers Option
- Add RpcException.StatusCode property
- gRPC stats will only be collected for debug builds or if
  GRPC_COLLECT_STATS is defined.
- cmake install now also installs should also installs the roots.pem
  file
2018-08-04 21:25:58 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2018/08/04 21:25:58 minskim Exp $
DISTNAME= grpc-1.13.1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://grpc.io/
COMMENT= High performance, open-source universal RPC framework
LICENSE= apache-2.0
USE_CMAKE= yes
USE_LANGUAGES+= c c++11
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=on
CMAKE_ARGS+= -DgRPC_BENCHMARK_PROVIDER=package
CMAKE_ARGS+= -DgRPC_CARES_PROVIDER=package
CMAKE_ARGS+= -DgRPC_GFLAGS_PROVIDER=package
CMAKE_ARGS+= -DgRPC_PROTOBUF_PROVIDER=package
CMAKE_ARGS+= -DgRPC_SSL_PROVIDER=package
CMAKE_ARGS+= -DgRPC_ZLIB_PROVIDER=package
SUBST_CLASSES+= fix-include
SUBST_STAGE.fix-include= pre-configure
SUBST_MESSAGE.fix-include= Fixing include paths.
SUBST_FILES.fix-include= CMakeLists.txt
SUBST_SED.fix-include= -e 's, /usr/local/, ${PREFIX}/,g'
.include "../../benchmarks/google-benchmark/buildlink3.mk"
.include "../../devel/gflags/buildlink3.mk"
BUILDLINK_API_DEPENDS.protobuf+= protobuf>=3.5
.include "../../devel/protobuf/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"