1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 6cd3e2933d29eb1f875c838ee58b8071fd61f0ec8ed5922a86c01c805d181a68
10 PKG_DESCR
:= drivers for smart card readers
11 PKG_SECTION
:= app
/crypto
12 PKG_DEPENDS
:= libopenct
13 PKG_BUILDDEP
:= libtool
14 PKG_URL
:= https
://github.com
/OpenSC
/openct
/wiki
15 PKG_SITES
:= http
://sourceforge.net
/projects
/opensc
/files
/openct
/
16 PKG_LIBNAME
:= libopenct
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
21 PKG_SUBPKGS
:= OPENCT LIBOPENCT
22 PKGSD_LIBOPENCT
:= crypto token library
23 PKGSC_LIBOPENCT
:= libs
/crypto
24 PKGSS_LIBOPENCT
:= libltdl libusb
25 PKGSB_LIBOPENCT
:= libtool libusb
27 include ${ADK_TOPDIR}/mk
/package.mk
29 $(eval
$(call PKG_template
,OPENCT
,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
30 $(eval
$(call PKG_template
,LIBOPENCT
,libopenct
,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENCT},${PKGSD_LIBOPENCT},${PKGSC_LIBOPENCT},${PKG_OPTS}))
33 ${INSTALL_DIR} ${IDIR_OPENCT}/etc
${IDIR_OPENCT}/usr
/{sbin
,bin
}
34 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/openct-control \
35 ${IDIR_OPENCT}/usr
/sbin
36 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/ifd
* \
37 ${IDIR_OPENCT}/usr
/sbin
38 ${INSTALL_BIN} ${WRKINST}/usr
/bin
/openct-tool \
39 ${IDIR_OPENCT}/usr
/bin
40 ${INSTALL_DATA} ${WRKBUILD}/etc
/openct.conf \
44 ${INSTALL_DIR} ${IDIR_LIBOPENCT}/usr
/lib
45 ${CP} ${WRKINST}/usr
/lib
/libopenct.so
* \
46 ${IDIR_LIBOPENCT}/usr
/lib
48 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk