12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= opensc
- PKG_VERSION:= 0.11.13
- PKG_RELEASE:= 5
- PKG_MD5SUM:= 98fa151e947941f9c3f27420fdf47c11
- PKG_DESCR:= utilities to access smart cards
- PKG_SECTION:= crypto
- PKG_BUILDDEP:= openct pcsc-lite openssl readline
- PKG_DEPENDS:= libopensc libopenct pcsc-lite libopenssl libreadline
- PKG_URL:= http://www.opensc-project.org/opensc/
- PKG_SITES:= http://www.opensc-project.org/files/opensc/
- PKG_LIBNAME:= libopensc
- PKG_OPTS:= dev
- PKG_SUBPKGS:= OPENSC LIBOPENSC
- PKGSD_LIBOPENSC:= opensc library
- PKGSC_LIBOPENSC:= libs
- PKGSS_LIBOPENSC:= libltdl
- PKGSB_LIBOPENSC:= libtool
- ifeq ($(ADK_STATIC),y)
- PKG_OPTS+= libmix
- endif
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,OPENSC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,LIBOPENSC,libopensc,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENSC},${PKGSD_LIBOPENSC},${PKGSC_LIBOPENSC},${PKG_OPTS}))
- AUTOTOOL_STYLE:= autoreconf
- CONFIGURE_ARGS+= --disable-man \
- --disable-iconv \
- --enable-pcsc \
- --enable-openct
- opensc-install:
- ${INSTALL_DIR} ${IDIR_OPENSC}/usr/bin
- ${INSTALL_DIR} ${IDIR_OPENSC}/usr/share/opensc
- ${INSTALL_DATA} ${WRKINST}/usr/share/opensc/* \
- ${IDIR_OPENSC}/usr/share/opensc
- ${INSTALL_BIN} ${WRKINST}/usr/bin/opensc-explorer \
- ${IDIR_OPENSC}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/opensc-tool \
- ${IDIR_OPENSC}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/pkcs15-init \
- ${IDIR_OPENSC}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/pkcs15-tool \
- ${IDIR_OPENSC}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/pkcs15-crypt \
- ${IDIR_OPENSC}/usr/bin
- libopensc-install:
- ${INSTALL_DIR} ${IDIR_LIBOPENSC}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libopensc.so* \
- ${IDIR_LIBOPENSC}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libpkcs15init.so* \
- ${IDIR_LIBOPENSC}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libscconf.so* \
- ${IDIR_LIBOPENSC}/usr/lib
- ${CP} ${WRKINST}/usr/lib/opensc-pkcs11.so \
- ${IDIR_LIBOPENSC}/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|