File: rules

package info (click to toggle)
vsftpd 2.3.2-3%2Bsqueeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,312 kB
  • ctags: 1,365
  • sloc: ansic: 15,491; sh: 192; makefile: 48
file content (21 lines) | stat: -rwxr-xr-x 461 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

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

ifneq ($(DEB_HOST_ARCH_OS),kfreebsd)
	LIBS = -lwrap -lpam -lcap -lssl -lcrypto
else
	LIBS = -lwrap -lpam -lssl -lcrypto
endif

%:
	dh ${@} --with quilt

override_dh_auto_build:
	$(MAKE) CFLAGS="$(CFLAGS) -W -Wshadow" 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 .'