File: rules

package info (click to toggle)
libhbaapi 2.2.9-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: ansic: 3,644; makefile: 28; sh: 4
file content (19 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

DEB_CFLAGS_MAINT_APPEND = -std=gnu17

include /usr/share/dpkg/architecture.mk

# For Hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk


%:
	dh $@;

override_dh_auto_configure:
	[ ! -f hbaapi_src_2.2.tgz ] || tar -C . -zvxf hbaapi_src_2.2.tgz --strip-components=1
	./bootstrap.sh
	./configure --disable-static --prefix=/usr --libdir='$${prefix}/lib/${DEB_HOST_MULTIARCH}'