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 +Packager: Jeff Carr +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 +Packager: Jeff Carr +Architecture: amd64 +Depends: +URL: golang.org/x/pkgsite +Version: 0.0.1 +Description: pkgsite + This was packaged with go-deb from go.wit.com