[packages] libnfc: update to 1.3.4

git-svn-id: svn://svn.openwrt.org/openwrt/packages@21026 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2010-04-19 08:27:57 +00:00
parent 164218c65c
commit 3758edae99

View File

@ -1,14 +1,22 @@
#
# Copyright (C) 2010 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:=libnfc
PKG_VERSION:=1.3.3
PKG_VERSION:=1.3.4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://libnfc.googlecode.com/files/
PKG_MD5SUM:=88aeb2f6c3ddf32ae52aedc9b179e49c
PKG_MD5SUM:=
PKG_FIXUP = libtool
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@ -18,7 +26,7 @@ define Package/libnfc/Default
endef
define Package/libnfc
$(call Package/libnfc/Default)
$(call Package/libnfc/Default)
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libpcsclite +libusb +pcscd +ccid
@ -36,7 +44,7 @@ define Package/libnfc/description
endef
define Package/libnfc-examples
$(call Package/libnfc/Default)
$(call Package/libnfc/Default)
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libnfc
@ -51,12 +59,6 @@ endef
TARGET_CFLAGS += $(FPIC)
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/nfc $(1)/usr/include/