blob: a866ceba3d5d7938c4a46b9b2427af3b4a50b6a5 [file] [log] [blame] [edit]
#!/usr/bin/make -f
# -*- makefile -*-
#
# output every command that modifies files on the build system.
# export DH_VERBOSE = 1
PACKAGENAME=a71ch-crypto-support
DESTDIR=$(shell pwd)/debian/$(PACKAGENAME)
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -DApplet=A71CH -DHost=Raspbian -DSMCOM=SCI2C -DHostCrypto=OPENSSL -DCMAKE_BUILD_TYPE=Release
override_dh_auto_install:
dh_auto_install
install -d $(DESTDIR)/etc/ssl
install -m 755 demos/linux/common/openssl11_sss_a71ch.cnf $(DESTDIR)/etc/ssl
sed -i -e 's/\/usr\/local\/lib/\/usr\/lib/g' $(DESTDIR)/etc/ssl/openssl11_sss_a71ch.cnf
install -d $(destdir)/usr/lib
install -m 755 tools/libsssapisw.so $(DESTDIR)/usr/lib/libsssapisw.so