pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

grpc-java: Add broken build target



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Aug 7 00:54:45 2016 +0200
Changeset:	d6a21b88ab4a9d3e852ff0530a735771474b61f9

Modified Files:
	grpc-java/Makefile

Log Message:
grpc-java: Add broken build target

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d6a21b88ab4a9d3e852ff0530a735771474b61f9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 grpc-java/Makefile | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diffs:
diff --git a/grpc-java/Makefile b/grpc-java/Makefile
index feced33..590a32a 100644
--- a/grpc-java/Makefile
+++ b/grpc-java/Makefile
@@ -10,4 +10,17 @@ HOMEPAGE=	http://grpc.io
 COMMENT=	The Java gRPC implementation. HTTP/2 based RPC
 LICENSE=	modified-bsd
 
+USE_TOOLS+=	bash
+
+REPLACE_BASH=	gradlew
+
+USE_JAVA=	yes
+USE_JAVA2=	yes
+
+MAKE_ENV+=	JAVA_HOME=${PKG_JAVA_HOME}
+
+do-build:
+	${RUN} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BASH} ./gradlew
+
+.include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index