summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/protoc-gen-go/Makefile6
-rwxr-xr-xexamples/protoc-gen-go/build10
-rw-r--r--examples/protoc-gen-go/control12
3 files changed, 28 insertions, 0 deletions
diff --git a/examples/protoc-gen-go/Makefile b/examples/protoc-gen-go/Makefile
new file mode 100644
index 0000000..92a3852
--- /dev/null
+++ b/examples/protoc-gen-go/Makefile
@@ -0,0 +1,6 @@
+.PHONY: build
+
+all: build
+
+build:
+ go-deb --repo .
diff --git a/examples/protoc-gen-go/build b/examples/protoc-gen-go/build
new file mode 100755
index 0000000..f8e2b06
--- /dev/null
+++ b/examples/protoc-gen-go/build
@@ -0,0 +1,10 @@
+#!/bin/bash -x
+
+# this is the new protobuf generator
+#
+# go-clone google.golang.org/protobuf
+# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go
+# go install
+
+mkdir -p files/usr/bin
+cp ~/go/bin/protoc-gen-go files/usr/bin
diff --git a/examples/protoc-gen-go/control b/examples/protoc-gen-go/control
new file mode 100644
index 0000000..df51b5d
--- /dev/null
+++ b/examples/protoc-gen-go/control
@@ -0,0 +1,12 @@
+Source: google.golang.org.protobuf
+Build-Depends: golang
+Package: protoc-gen-go-new
+Maintainer: Jeff Carr <[email protected]>
+Packager: Jeff Carr <[email protected]>
+Architecture: amd64
+Depends:
+URL: https://go.wit.com/
+Recommends:
+Version: 0.1
+Description: protoc-gen-go from google.golang.org/protobuf
+ You need this one until the debian sid packages are updated