1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-19 04:50:02 +02:00

Adding debhelper scripts.

This commit is contained in:
Henrik Hautakoski 2023-04-30 15:30:17 +02:00
parent 1294537734
commit df8cb62fea
8 changed files with 81 additions and 0 deletions

11
debian/rules vendored Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/make -f
include /usr/share/dpkg/default.mk
%:
dh $@ -P debian/pkgroot
override_dh_auto_build:
dh_auto_build -- GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w -X main.VersionString=$(DEB_VERSION)\""
override_dh_auto_install:
dh_auto_install -- PREFIX=/usr CFGDIR=/etc