summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--README.md8
-rw-r--r--debian/Makefile8
-rw-r--r--debian/control9
4 files changed, 24 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 60e8a95..f55d126 100644
--- a/Makefile
+++ b/Makefile
@@ -32,5 +32,8 @@ clean:
-rm -f resources/*.so
-rm *.deb
+debian:
+ cd debian && make
+
mirrors:
-wit mirrors
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..232c727
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+# go-deb
+
+Makes a debian package from a go git repository
+
+TODO:
+
+* Make the sources
+* Make it compatible with debuild
diff --git a/debian/Makefile b/debian/Makefile
index 1b42b3b..a6f1235 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -1,7 +1,7 @@
# GITVERSION=$(shell git rev-parse FETCH_HEAD)
VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//')
-BASENAME=control-panel-dns
+BASENAME=go-deb
all: help deb
@@ -20,9 +20,9 @@ clean:
extract:
mkdir -p ../files/usr/bin
- mkdir -p ../files/usr/lib/control-panel-dns/
- cp ../README.md ../files/usr/lib/control-panel-dns/
- cp ~/go/bin/control-panel-dns ../files/usr/bin/
+ mkdir -p ../files/usr/lib/${BASENAME}
+ cp ../README.md ../files/usr/lib/${BASENAME}
+ cp ../${BASENAME} ../files/usr/bin/
# makes the DEBIAN/ directory
DEBIAN:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..12f6b3b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,9 @@
+Source: go-deb
+Build-Depends: golang
+Package: go-deb
+Maintainer: Jeff Carr <[email protected]>
+Architecture: amd64
+Depends:
+Recommends: libgtk-3-0, ddclient, ddupdate
+Description: a control panel for DNS and IPv6 settings
+ Goals: show the settings, validate & update DNS