Changeset 30618


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

[packages] libnfc: update to 1.4.2 (#6677, thanks neomilium)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libnfc/Makefile

    r21027 r30618  
    11# 
    2 # Copyright (C) 2010 OpenWrt.org 
     2# Copyright (C) 2010-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=libnfc 
    11 PKG_VERSION:=1.3.4 
     11PKG_VERSION:=1.4.2 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    15 PKG_SOURCE_URL:=http://libnfc.googlecode.com/files/ 
    16 PKG_MD5SUM:=f89f58e70b72bf4aac0567d0741719c8 
     15PKG_SOURCE_URL:=http://libnfc.googlecode.com/files 
     16PKG_MD5SUM:=c99b2b9212b1a1b064055a199779bdd8 
    1717 
    1818PKG_FIXUP:=libtool 
     
    3030  SECTION:=libs 
    3131  CATEGORY:=Libraries 
    32   DEPENDS:=+libpcsclite +libusb +pcscd +ccid 
     32  DEPENDS:=+libusb +pcscd +ccid 
    3333endef 
    3434 
    3535define Package/libnfc/description 
    36   libnfc is a free software library used to communicate with NFC  
    37   capable devices or tags. It support the four main NFC modulations: 
    38   * ISO14443-A (NXP MIFARE), 
    39   * ISO14443-B, 
    40   * JIS X 6319-4 (Sony Felica) and 
    41   * Jewel Topaz (Innovision Research & Development). 
    42   Supported NFC hardware devices are theorically all readers based  
    43   on the NXP PN53x NFC Controller. 
     36  libnfc is a free software library used to handle NFC capable devices. 
     37  It supports the four main NFC modulations: 
     38   * ISO14443-A (NXP MIFARE), 
     39   * ISO14443-B, 
     40   * JIS X 6319-4 (Sony Felica) and 
     41   * Jewel Topaz (Innovision Research & Development). 
     42  And depending on hardware, it supports: 
     43   * Read (RFID @13.56Mhz), 
     44   * Emulation and 
     45   * Peer2Peer mode.   
     46endef 
     47 
     48define Package/libnfc-bin 
     49$(call Package/libnfc/Default) 
     50  TITLE+= (binaries) 
     51  SECTION:=utils 
     52  CATEGORY:=Utilities 
     53  DEPENDS:=+libnfc 
     54endef 
     55 
     56define Package/libnfc-bin/description 
     57  libnfc is provided with some useful tools: 
     58   * nfc-list: target listing; 
     59   * nfc-mfclassic: Mifare Classic operations; 
     60   * nfc-mfultralight: Mifare Ultralight operations. 
    4461endef 
    4562 
    4663define Package/libnfc-examples 
    4764$(call Package/libnfc/Default) 
     65  TITLE+= (examples) 
    4866  SECTION:=utils 
    4967  CATEGORY:=Utilities 
     
    5371define Package/libnfc-examples/description 
    5472  libnfc is provided with some examples like: 
    55    * tag listing 
    56    * relaying NFC 
    57    * simple UID emulation 
     73   * various targets emulation; 
     74   * NFC frames relay (ie. over network); 
     75   * manually done anticollision; 
     76   * etc. 
    5877endef 
    5978 
     
    7493endef 
    7594 
     95define Package/libnfc-bin/install 
     96        $(INSTALL_DIR) $(1)/usr/bin 
     97        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-list $(1)/usr/bin/ 
     98        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-mfclassic $(1)/usr/bin/ 
     99        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-mfultralight $(1)/usr/bin/ 
     100endef 
     101 
    76102define Package/libnfc-examples/install 
    77103        $(INSTALL_DIR) $(1)/usr/bin 
    78         $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc* $(1)/usr/bin/ 
     104        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-anticol $(1)/usr/bin/ 
     105        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-dep-initiator $(1)/usr/bin/ 
     106        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-dep-target $(1)/usr/bin/ 
     107        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-emulate-forum-tag4 $(1)/usr/bin/ 
     108        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-emulate-tag $(1)/usr/bin/ 
     109        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-emulate-uid $(1)/usr/bin/ 
     110        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-poll $(1)/usr/bin/ 
     111        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-relay $(1)/usr/bin/ 
     112        $(CP) $(PKG_INSTALL_DIR)/usr/bin/nfc-relay-picc $(1)/usr/bin/ 
    79113endef 
    80114 
    81115$(eval $(call BuildPackage,libnfc)) 
     116$(eval $(call BuildPackage,libnfc-bin)) 
    82117$(eval $(call BuildPackage,libnfc-examples)) 
Note: See TracChangeset for help on using the changeset viewer.