Changeset 30616


Ignore:
Timestamp:
2012-02-17T18:49:13+01:00 (6 years ago)
Author:
swalker
Message:

[packages] pcsc-lite: update to 1.8.2 (#9005, #10494)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/pcsc-lite/Makefile

    r28944 r30616  
    11# 
    2 # Copyright (C) 2009-2011 OpenWrt.org 
     2# Copyright (C) 2009-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=pcsc-lite 
    11 PKG_VERSION:=1.5.5 
    12 PKG_RELEASE:=4 
     11PKG_VERSION:=1.8.2 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    15 PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3082 
    16 PKG_MD5SUM:=6707e967fc8bb398a5d1b1089d4dff63 
     15PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3695 
     16PKG_MD5SUM:=cb7156346e9478c19085c918b605ed43 
    1717 
    1818PKG_FIXUP:=libtool 
     19PKG_INSTALL:=1 
    1920 
    2021include $(INCLUDE_DIR)/package.mk 
    2122 
    2223define Package/pcsc-lite/Default 
    23   SECTION:=utils 
    24   CATEGORY:=Utilities 
    2524  TITLE:=Middleware to access a smart card using SCard API (PC/SC). 
    2625  URL:=http://pcsclite.alioth.debian.org/ 
     
    3837  CATEGORY:=Libraries 
    3938  TITLE+= (library) 
    40   DEPENDS:=+libusb +libpthread 
     39  DEPENDS:=+libusb +libpthread +librt 
    4140endef 
    4241 
     
    6463TARGET_LDFLAGS += -lpthread 
    6564 
    66 define Build/Configure 
    67         $(call Build/Configure/Default, \ 
    68           --disable-libhal \ 
    69           --enable-libusb \ 
    70           --enable-usbdropdir=/usr/lib/pcsc/drivers \ 
    71         ) 
    72 endef 
    73  
    74 define Build/Compile 
    75         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    76         DESTDIR="$(PKG_INSTALL_DIR)" \ 
    77                 all install 
    78 endef 
     65CONFIGURE_ARGS += \ 
     66        --disable-libudev \ 
     67        --enable-libusb \ 
     68        --enable-static \ 
     69        --enable-usbdropdir=/usr/lib/pcsc/drivers 
    7970 
    8071define Build/InstallDev 
     
    10192        $(INSTALL_DIR) $(1)/etc/init.d 
    10293        $(INSTALL_BIN) ./files/pcscd.init $(1)/etc/init.d/pcscd 
    103         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/update-reader.conf $(1)/usr/sbin/ 
    10494        $(INSTALL_DIR) $(1)/etc/reader.conf.d 
    105         $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/reader.conf.d/reader.conf $(1)/etc/reader.conf.d/ 
    10695endef 
    10796 
Note: See TracChangeset for help on using the changeset viewer.