File: rules

package info (click to toggle)
golang-rrd 0.0~git20131112-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 100 kB
  • ctags: 149
  • sloc: ansic: 52; makefile: 7
file content (15 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1

# DH_GOPKG is the upstream path which you would normally “go get”.
# Using it allows us to build applications without patching locations.
export DH_GOPKG := github.com/ziutek/rrd

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=golang
	cp rrdfunc.c rrdfunc.h obj-$(DEB_BUILD_GNU_TYPE)/src/$(DH_GOPKG)

%:
	dh $@ --buildsystem=golang --with=golang