summaryrefslogtreecommitdiff
path: root/examples/protoc-gen-go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/protoc-gen-go')
-rw-r--r--examples/protoc-gen-go/Makefile4
-rwxr-xr-xexamples/protoc-gen-go/build4
-rw-r--r--examples/protoc-gen-go/control3
3 files changed, 8 insertions, 3 deletions
diff --git a/examples/protoc-gen-go/Makefile b/examples/protoc-gen-go/Makefile
index d28f0e1..f2853e0 100644
--- a/examples/protoc-gen-go/Makefile
+++ b/examples/protoc-gen-go/Makefile
@@ -5,6 +5,10 @@ all: build
build:
go-deb --repo .
+# keep the files/ directory after the package is made
+keep-files:
+ go-deb --keep-files --repo .
+
# use the ncurses gui (only kinda works still)
ncurses:
go-deb --gui gocui --repo .
diff --git a/examples/protoc-gen-go/build b/examples/protoc-gen-go/build
index f8e2b06..2b19bb6 100755
--- a/examples/protoc-gen-go/build
+++ b/examples/protoc-gen-go/build
@@ -4,7 +4,7 @@
#
# go-clone google.golang.org/protobuf
# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go
-# go install
+# go build
mkdir -p files/usr/bin
-cp ~/go/bin/protoc-gen-go files/usr/bin
+cp ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go/protoc-gen-go files/usr/bin/
diff --git a/examples/protoc-gen-go/control b/examples/protoc-gen-go/control
index c1090d5..e0b826a 100644
--- a/examples/protoc-gen-go/control
+++ b/examples/protoc-gen-go/control
@@ -5,9 +5,10 @@ Maintainer: Jeff Carr <[email protected]>
Packager: Jeff Carr <[email protected]>
Architecture: amd64
Depends: protobuf-compiler
+Conflicts: protoc-gen-go, protoc-gen-go-1-3, protoc-gen-go-1-5
URL: https://go.wit.com/
Recommends:
-Version: 0.0.3
+Version: 1.35.1-devel
Description: protoc-gen-go from google.golang.org/protobuf
You need this one until the debian sid packages are updated
I didn't change anything, it's a straight build from the sources.