diff options
Diffstat (limited to 'package/opensc/Makefile')
-rw-r--r-- | package/opensc/Makefile | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/package/opensc/Makefile b/package/opensc/Makefile index b1fcda2e8..c07d16268 100644 --- a/package/opensc/Makefile +++ b/package/opensc/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= opensc PKG_VERSION:= 0.11.13 -PKG_RELEASE:= 4 +PKG_RELEASE:= 5 PKG_MD5SUM:= 98fa151e947941f9c3f27420fdf47c11 PKG_DESCR:= utilities to access smart cards PKG_SECTION:= crypto @@ -13,29 +13,28 @@ 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_ARCH_DEPENDS:= !avr32 -PKG_SUBPKGS:= OPENSC LIBOPENSC LIBOPENSC_DEV +PKG_SUBPKGS:= OPENSC LIBOPENSC PKGSD_LIBOPENSC:= opensc library PKGSC_LIBOPENSC:= libs PKGSS_LIBOPENSC:= libltdl PKGSB_LIBOPENSC:= libtool -PKGSD_LIBOPENSC_DEV:= development files for opensc -PKGSC_LIBOPENSC_DEV:= devel 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})) -$(eval $(call PKG_template,LIBOPENSC_DEV,libopensc-dev,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBOPENSC_DEV},${PKGSC_LIBOPENSC_DEV})) +$(eval $(call PKG_template,LIBOPENSC,libopensc,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LIBOPENSC},${PKGSD_LIBOPENSC},${PKGSC_LIBOPENSC},${PKG_OPTS})) CONFIGURE_ARGS+= --disable-man \ --disable-iconv \ --enable-pcsc \ --enable-openct -post-install: +opensc-install: ${INSTALL_DIR} ${IDIR_OPENSC}/usr/bin ${INSTALL_DIR} ${IDIR_OPENSC}/usr/share/opensc ${INSTALL_DATA} ${WRKINST}/usr/share/opensc/* \ @@ -62,9 +61,4 @@ libopensc-install: ${CP} ${WRKINST}/usr/lib/opensc-pkcs11.so \ ${IDIR_LIBOPENSC}/usr/lib -libopensc-dev-install: - ${INSTALL_DIR} ${IDIR_LIBOPENSC_DEV}/usr/include/opensc - ${CP} ${WRKINST}/usr/include/opensc/*.h \ - ${IDIR_LIBOPENSC_DEV}/usr/include/opensc - include ${TOPDIR}/mk/pkg-bottom.mk |