2008-02-22 13:59:03 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
2010-08-04 12:55:20 +00:00
|
|
|
DESTDIR=debian/libccid
|
2008-02-22 13:59:03 +00:00
|
|
|
|
2016-05-22 15:53:48 +00:00
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
|
2010-08-04 12:55:20 +00:00
|
|
|
%:
|
2018-09-19 08:00:39 +00:00
|
|
|
dh $@
|
2008-02-22 13:59:03 +00:00
|
|
|
|
2010-08-04 12:55:20 +00:00
|
|
|
override_dh_auto_configure:
|
|
|
|
# add support of the GemPC Twin in serial mode
|
2013-08-12 22:25:36 +00:00
|
|
|
dh_auto_configure -- --enable-twinserial --enable-serialconfdir=/etc/reader.conf.d
|
2008-02-22 13:59:03 +00:00
|
|
|
|
2010-08-04 12:55:20 +00:00
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install
|
2008-02-22 13:59:03 +00:00
|
|
|
|
2010-08-04 12:55:20 +00:00
|
|
|
# move the configuration file in /etc and create a symbolic link
|
2008-02-22 13:59:03 +00:00
|
|
|
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
|
2013-01-20 12:52:42 +00:00
|
|
|
|
|
|
|
override_dh_installudev:
|
|
|
|
dh_installudev --priority=92
|