summaryrefslogtreecommitdiff
path: root/package/pcsc-lite/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/pcsc-lite/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/pcsc-lite/Makefile')
-rw-r--r--package/pcsc-lite/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/package/pcsc-lite/Makefile b/package/pcsc-lite/Makefile
index 4d6f971bd..8a7f496dd 100644
--- a/package/pcsc-lite/Makefile
+++ b/package/pcsc-lite/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= pcsc-lite
PKG_VERSION:= 1.7.4
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 1caf0b8ca2ecbf82fe3b035b3fff22dd
PKG_DESCR:= middleware for smartcards
PKG_SECTION:= crypto
@@ -13,23 +13,19 @@ PKG_DEPENDS:= libusb libusb-compat libpthread
PKG_BUILDDEP:= libusb libusb-compat
PKG_URL:= http://pcsclite.alioth.debian.org/
PKG_SITES:= http://alioth.debian.org/frs/download.php/file/3598/
+PKG_OPTS:= dev
PKG_ARCH_DEPENDS:= !avr32
-PKG_SUBPKGS:= PCSC_LITE PCSC_LITE_DEV
-PKGSD_PCSC_LITE_DEV:= header files for pcsc-lite
-PKGSC_PCSC_LITE_DEV:= devel
-
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,PCSC_LITE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,PCSC_LITE_DEV,$(PKG_NAME)-dev,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_PCSC_LITE_DEV},${PKGSC_PCSC_LITE_DEV}))
+$(eval $(call PKG_template,PCSC_LITE,pcsc-lite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-libudev
-post-install:
+pcsc-lite-install:
$(INSTALL_DIR) $(IDIR_PCSC_LITE)/etc/reader.conf.d
$(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/sbin
$(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/lib
@@ -38,11 +34,4 @@ post-install:
$(CP) $(WRKINST)/usr/lib/libpcsclite.so* \
$(IDIR_PCSC_LITE)/usr/lib
-pcsc-lite-dev-install:
- ${INSTALL_DIR} ${IDIR_PCSC_LITE_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/* ${IDIR_PCSC_LITE_DEV}/usr/include
- ${INSTALL_DIR} ${IDIR_PCSC_LITE_DEV}/usr/lib/pkgconfig
- ${CP} ${WRKINST}/usr/lib/pkgconfig/*.pc \
- ${IDIR_PCSC_LITE_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk