parent
eed897eefd
commit
ffaec2b5dd
3
Makefile
3
Makefile
|
@ -32,5 +32,8 @@ clean:
|
||||||
-rm -f resources/*.so
|
-rm -f resources/*.so
|
||||||
-rm *.deb
|
-rm *.deb
|
||||||
|
|
||||||
|
debian:
|
||||||
|
cd debian && make
|
||||||
|
|
||||||
mirrors:
|
mirrors:
|
||||||
-wit mirrors
|
-wit mirrors
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# go-deb
|
||||||
|
|
||||||
|
Makes a debian package from a go git repository
|
||||||
|
|
||||||
|
TODO:
|
||||||
|
|
||||||
|
* Make the sources
|
||||||
|
* Make it compatible with debuild
|
|
@ -1,7 +1,7 @@
|
||||||
# GITVERSION=$(shell git rev-parse FETCH_HEAD)
|
# GITVERSION=$(shell git rev-parse FETCH_HEAD)
|
||||||
VERSION=$(shell git describe --tags $(git rev-list --tags --max-count=1) | sed 's/^v//')
|
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
|
all: help deb
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ clean:
|
||||||
|
|
||||||
extract:
|
extract:
|
||||||
mkdir -p ../files/usr/bin
|
mkdir -p ../files/usr/bin
|
||||||
mkdir -p ../files/usr/lib/control-panel-dns/
|
mkdir -p ../files/usr/lib/${BASENAME}
|
||||||
cp ../README.md ../files/usr/lib/control-panel-dns/
|
cp ../README.md ../files/usr/lib/${BASENAME}
|
||||||
cp ~/go/bin/control-panel-dns ../files/usr/bin/
|
cp ../${BASENAME} ../files/usr/bin/
|
||||||
|
|
||||||
# makes the DEBIAN/ directory
|
# makes the DEBIAN/ directory
|
||||||
DEBIAN:
|
DEBIAN:
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
Source: go-deb
|
||||||
|
Build-Depends: golang
|
||||||
|
Package: go-deb
|
||||||
|
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||||
|
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
|
Loading…
Reference in New Issue