File: rules

package info (click to toggle)
ccid 1.4.26-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,676 kB
  • ctags: 1,416
  • sloc: ansic: 9,977; sh: 4,594; lex: 242; makefile: 144; perl: 97
file content (22 lines) | stat: -rwxr-xr-x 647 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
#!/usr/bin/make -f

DESTDIR=debian/libccid

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --parallel

override_dh_auto_configure:
	# add support of the GemPC Twin in serial mode
	dh_auto_configure -- --enable-twinserial --enable-serialconfdir=/etc/reader.conf.d

override_dh_auto_install:
	dh_auto_install

	# move the configuration file in /etc and create a symbolic link
	mv $(DESTDIR)/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist $(DESTDIR)/etc/libccid_Info.plist
	ln -s /etc/libccid_Info.plist $(DESTDIR)/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist

override_dh_installudev:
	dh_installudev --priority=92