File: rules

package info (click to toggle)
gtk-gnutella 1.1.15-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 57,280 kB
  • sloc: ansic: 347,884; sh: 11,822; xml: 1,384; yacc: 820; perl: 741; makefile: 89; python: 23; sed: 16
file content (24 lines) | stat: -rwxr-xr-x 659 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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

override_dh_auto_configure:
	./Configure \
		-ders \
		-Dprefix=/usr \
		-Dprivlib=/usr/share/gtk-gnutella \
		-Darchlib=/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-gnutella \
		-Dyacc=bison \
		-Dipv6=true \
		-Dgtkversion=2 \
		-Dofficial=true \
		-Dlibpth="/lib/$(DEB_HOST_MULTIARCH) /lib /usr/lib/$(DEB_HOST_MULTIARCH) /usr/lib"

override_dh_auto_install:
	$(MAKE) install INSTALL_PREFIX=$(CURDIR)/debian/gtk-gnutella/
	# Also install the manpage
	$(MAKE) install.man INSTALL_PREFIX=$(CURDIR)/debian/gtk-gnutella/

%:
	dh $@