summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-18 18:21:56 -0600
committerJeff Carr <[email protected]>2024-11-18 18:21:56 -0600
commit891a4cada95f786bae78851e6d28bf2bfc2aafcb (patch)
tree9c8ae99b8ea717dc25b417599d8249d1349e329a
parent79dd86306edfb7822f44220ef211254959d707fb (diff)
more examplesv0.22.15
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--examples/gomobile/Makefile13
-rwxr-xr-xexamples/gomobile/build8
-rw-r--r--examples/gomobile/control11
-rw-r--r--examples/pkgsite/Makefile13
-rwxr-xr-xexamples/pkgsite/build9
-rw-r--r--examples/pkgsite/control11
6 files changed, 65 insertions, 0 deletions
diff --git a/examples/gomobile/Makefile b/examples/gomobile/Makefile
new file mode 100644
index 0000000..ecaad6a
--- /dev/null
+++ b/examples/gomobile/Makefile
@@ -0,0 +1,13 @@
+.PHONY: build
+
+# this is how the mirrors.wit.com debian package is created
+
+all: build
+
+build:
+ go-deb --repo .
+
+# use the ncurses gui (only kinda works still)
+ncurses:
+ go-deb --gui gocui --repo .
+
diff --git a/examples/gomobile/build b/examples/gomobile/build
new file mode 100755
index 0000000..467d030
--- /dev/null
+++ b/examples/gomobile/build
@@ -0,0 +1,8 @@
+#!/bin/bash -x
+
+# gomobile binary from go
+
+mkdir -p files/usr/bin
+cd ~/go/bin/golang.org/x/mobile/cmd/gomobile/
+go build
+cp ~/go/src/golang.org/x/mobile/cmd/gomobile/gomobile files/usr/bin
diff --git a/examples/gomobile/control b/examples/gomobile/control
new file mode 100644
index 0000000..71ee824
--- /dev/null
+++ b/examples/gomobile/control
@@ -0,0 +1,11 @@
+Source:
+Package: gomobile
+Build-Depends:
+Maintainer: golang <[email protected]>
+Packager: Jeff Carr <[email protected]>
+Architecture: amd64
+Depends:
+URL: golang.org/x/mobile
+Version: 0.0.1
+Description: gomobile
+ This was packaged with go-deb from go.wit.com
diff --git a/examples/pkgsite/Makefile b/examples/pkgsite/Makefile
new file mode 100644
index 0000000..ecaad6a
--- /dev/null
+++ b/examples/pkgsite/Makefile
@@ -0,0 +1,13 @@
+.PHONY: build
+
+# this is how the mirrors.wit.com debian package is created
+
+all: build
+
+build:
+ go-deb --repo .
+
+# use the ncurses gui (only kinda works still)
+ncurses:
+ go-deb --gui gocui --repo .
+
diff --git a/examples/pkgsite/build b/examples/pkgsite/build
new file mode 100755
index 0000000..2d9fffc
--- /dev/null
+++ b/examples/pkgsite/build
@@ -0,0 +1,9 @@
+#!/bin/bash -x
+
+# pkgsite binary from go
+# go-clone golang.org/x/pkgsite
+# cd ~/go/src/golang.org/x/pkgsite/cmd/pkgsite
+# go build
+
+mkdir -p files/usr/bin
+cp ~/go/src/golang.org/x/pkgsite/cmd/pkgsite/pkgsite files/usr/bin/
diff --git a/examples/pkgsite/control b/examples/pkgsite/control
new file mode 100644
index 0000000..dee1b4f
--- /dev/null
+++ b/examples/pkgsite/control
@@ -0,0 +1,11 @@
+Source:
+Package: pkgsite
+Build-Depends:
+Maintainer: golang <[email protected]>
+Packager: Jeff Carr <[email protected]>
+Architecture: amd64
+Depends:
+URL: golang.org/x/pkgsite
+Version: 0.0.1
+Description: pkgsite
+ This was packaged with go-deb from go.wit.com