blob: b068b451aff0abad1a2741790b4dda2ca0f020f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.9 2018/06/12 17:50:26 bsiegert Exp $
DISTNAME= go-grpc-1.0.1
PKGREVISION= 8
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
GITHUB_PROJECT= grpc-go
GITHUB_TAG= v1.0.1-GA
HOMEPAGE= http://${GO_SRCPATH}
COMMENT= Go language implementation of gRPC, HTTP/2 based RPC
LICENSE= modified-bsd
GO_SRCPATH= google.golang.org/grpc
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG:S/v//}
GO_BUILD_PATTERN= ${GO_SRCPATH}
GO_BUILD_PATTERN+= ${GO_SRCPATH}/codes/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/credentials/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/grpclog/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/health/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/metadata/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/naming/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/peer/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/reflection/...
GO_BUILD_PATTERN+= ${GO_SRCPATH}/transport/...
REPLACE_SH+= codegen.sh
REPLACE_SH+= coverage.sh
#pre-patch:
# ${RM} -rf ${WRKSRC}/test
# due to patch
post-install:
${RM} -f ${DESTDIR}${PREFIX}/gopkg/src/google.golang.org/grpc/coverage.sh.orig
${RM} -f ${DESTDIR}${PREFIX}/gopkg/pkg/${GO_PLATFORM}/google.golang.org/grpc/internal.a
.include "../../devel/go-glog/buildlink3.mk"
.include "../../devel/go-protobuf/buildlink3.mk"
.include "../../net/go-net/buildlink3.mk"
.include "../../security/go-oauth2/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
|