File: rules

package info (click to toggle)
vsftpd 2.3.5-3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,824 kB
  • sloc: ansic: 15,648; sh: 192; makefile: 50
file content (25 lines) | stat: -rwxr-xr-x 510 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
22
23
24
25
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

LIBS = -lwrap -lpam -lssl -lcrypto
ifeq ($(DEB_HOST_ARCH_OS),linux)
	LIBS += -lcap
endif

%:
	dh ${@}

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS)" LIBS="$(LIBS)" LINK=""

override_dh_auto_install:
	# disabled

override_dh_installinit:
	dh_installinit --update-rcd-params='start 20 2 3 4 5 . stop 80 1 .'

override_dh_builddeb:
	dh_builddeb -- -Zgzip -z9