1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 11:23:57 +02:00
openwrt-packages/utils/ccid/Makefile
Daniel Golle 410ce3d4f5 ccid: update to version 1.4.26
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-01-11 02:09:20 +01:00

53 lines
1.2 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.26
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://alioth.debian.org/frs/download.php/file/4205
PKG_MD5SUM:=3267bf708ab780c02f01f6241b7c7277cb892d30fd1179a9926a8cc0ca40be2f
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=LGPL-2.1+
PKG_LICENSE_FILES:=COPYING
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)
TARGET_LDFLAGS += "-lpthread"
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))