File: rules

package info (click to toggle)
qatengine 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,280 kB
  • sloc: ansic: 88,285; sh: 475; makefile: 250
file content (25 lines) | stat: -rwxr-xr-x 610 bytes parent folder | download | duplicates (2)
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 DPKG_EXPORT_BUILDFLAGS = 1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# enable QAT SW
# will need 2 extra dependencies:  libipsec-mb-dev, ipp-crypto-dev
override_dh_auto_configure:
	dh_auto_configure -- --enable-qat_sw

override_dh_auto_install:
	dh_auto_install
	rm -f debian/qatengine/usr/lib/*/engines-3/qatengine.la

# does not compress testapp
override_dh_compress:
	dh_compress -Xtestapp

# does not remove executable bit on testapp and testapp.sh
# those files are installed in usr/share/doc/qatengine (see install)
override_dh_fixperms:
	dh_fixperms -Xtestapp