summaryrefslogtreecommitdiff
path: root/devel/go-gox
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2019-08-29 13:43:27 +0000
committerhe <he@pkgsrc.org>2019-08-29 13:43:27 +0000
commitc2d791ba9850c61b64f105de457d686324ec4095 (patch)
tree181331a6a09b4b2fb42ddc676c4a5104cfcc4f84 /devel/go-gox
parentbf64ed9688cc9c0498cc58fae95649da3d82e36d (diff)
downloadpkgsrc-c2d791ba9850c61b64f105de457d686324ec4095.tar.gz
Add go-gox version 1.0.1.
Gox is a simple, no-frills tool for Go cross compilation that behaves a lot like standard go build. Gox will parallelize builds for multiple platforms. Gox will also build the cross-compilation toolchain for you.
Diffstat (limited to 'devel/go-gox')
-rw-r--r--devel/go-gox/DESCR4
-rw-r--r--devel/go-gox/Makefile23
-rw-r--r--devel/go-gox/PLIST2
-rw-r--r--devel/go-gox/distinfo6
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/go-gox/DESCR b/devel/go-gox/DESCR
new file mode 100644
index 00000000000..72024ee929f
--- /dev/null
+++ b/devel/go-gox/DESCR
@@ -0,0 +1,4 @@
+Gox is a simple, no-frills tool for Go cross compilation that
+behaves a lot like standard go build. Gox will parallelize builds
+for multiple platforms. Gox will also build the cross-compilation
+toolchain for you.
diff --git a/devel/go-gox/Makefile b/devel/go-gox/Makefile
new file mode 100644
index 00000000000..6521fedb48c
--- /dev/null
+++ b/devel/go-gox/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/08/29 13:43:27 he Exp $
+#
+
+NAME= gox
+DISTNAME= ${NAME}-1.0.1
+PKGNAME= go-${DISTNAME}
+GITHUB_PROJECT= ${NAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mitchellh/}
+GITHUB_TAG= v1.0.1
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/mitchellh/gox
+COMMENT= Tool for go cross compilation
+LICENSE= mpl-2.0
+
+GO_SRCPATH= github.com/mitchellh/gox
+GO_DIST_BASE= ${DISTNAME}*
+
+DEPENDS+= go-iochan-[0-9]*:../../devel/go-iochan
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/go-gox/PLIST b/devel/go-gox/PLIST
new file mode 100644
index 00000000000..c566e219fbd
--- /dev/null
+++ b/devel/go-gox/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/08/29 13:43:27 he Exp $
+bin/gox
diff --git a/devel/go-gox/distinfo b/devel/go-gox/distinfo
new file mode 100644
index 00000000000..e58acb88884
--- /dev/null
+++ b/devel/go-gox/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/08/29 13:43:27 he Exp $
+
+SHA1 (gox-1.0.1.tar.gz) = c78d456bc15a5551d6ce4540664775d954a7e1fe
+RMD160 (gox-1.0.1.tar.gz) = 403fb22b914fb9ef6a5744fc6ee38fe0577e9cdc
+SHA512 (gox-1.0.1.tar.gz) = cfcad670d9b752fe629de26db0a7f02a72f183f1c6acaf232d4908085f27a297453ab35f5c9a3ede209cb9143fd9ed7a8b5d9c182c8796f3fe4d023cb5294497
+Size (gox-1.0.1.tar.gz) = 30819 bytes