File: rules

package info (click to toggle)
golang-github-gopacket-gopacket 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,004 kB
  • sloc: sh: 301; python: 76; makefile: 10
file content (16 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f


export DH_GOLANG_EXCLUDES := examples pcap/gopacket_benchmark pfring
export DH_GOLANG_INSTALL_EXTRA := $(wildcard pcap/*.pcap) pcapgo/tests

DH_GOPKG := github.com/gopacket/gopacket

%:
	dh $@ --builddirectory=_build --buildsystem=golang

override_dh_auto_configure:
	dh_auto_configure
	chmod -x _build/src/$(DH_GOPKG)/pcapgo/write.go
	rm -rf _build/src/$(DH_GOPKG)/routing/routing_test.go
	rm -rf _build/src/$(DH_GOPKG)/pcapgo/ngwrite_dsb_test.go