File: rules

package info (click to toggle)
tsocks 1.8beta5+ds1-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 968 kB
  • ctags: 448
  • sloc: ansic: 7,664; sh: 3,085; makefile: 150
file content (21 lines) | stat: -rwxr-xr-x 649 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DH_VERBOSE=1
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
package=tsocks

%:
	dh $@ --with=autotools-dev

override_dh_auto_configure:
	dh_auto_configure -- --enable-hostnames --with-conf=/etc/tsocks.conf

override_dh_auto_install:
	install -m 600 tsocks.conf.complex.example $(CURDIR)/debian/$(package)/etc/tsocks.conf
	install validateconf $(CURDIR)/debian/$(package)/usr/bin
	install inspectsocks $(CURDIR)/debian/$(package)/usr/bin
	install saveme $(CURDIR)/debian/$(package)/usr/bin
	install tsocks $(CURDIR)/debian/$(package)/usr/bin
	dh_auto_install