packages/utils/ccid/Makefile
swalker daaa4a52b3 [packages] ccid: update to 1.4.5 (#9005, #10494)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 17:49:31 +00:00

48 lines
1.1 KiB
Makefile

#
# Copyright (C) 2009-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ccid
PKG_VERSION:=1.4.5
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3672
PKG_MD5SUM:=cb9a77194ac335c39b262ea83a5b7d2e
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/ccid
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libusb-1.0 +libpcsclite
TITLE:=Generic USB CCID smart card reader driver
URL:=http://pcsclite.alioth.debian.org/ccid.html
endef
define Package/ccid/description
Generic USB CCID (Chip/Smart Card Interface Devices) driver and ICCD
(Integrated Circuit(s) Card Devices).
endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
--enable-embedded \
--enable-usbdropdir=/usr/lib/pcsc/drivers
define Package/ccid/install
$(INSTALL_DIR) $(1)/usr/lib/pcsc
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pcsc/drivers $(1)/usr/lib/pcsc/
endef
$(eval $(call BuildPackage,ccid))