[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:
parent
164218c65c
commit
3758edae99
@ -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
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libnfc
|
PKG_NAME:=libnfc
|
||||||
PKG_VERSION:=1.3.3
|
PKG_VERSION:=1.3.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://libnfc.googlecode.com/files/
|
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
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -18,7 +26,7 @@ define Package/libnfc/Default
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libnfc
|
define Package/libnfc
|
||||||
$(call Package/libnfc/Default)
|
$(call Package/libnfc/Default)
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
DEPENDS:=+libpcsclite +libusb +pcscd +ccid
|
DEPENDS:=+libpcsclite +libusb +pcscd +ccid
|
||||||
@ -36,7 +44,7 @@ define Package/libnfc/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libnfc-examples
|
define Package/libnfc-examples
|
||||||
$(call Package/libnfc/Default)
|
$(call Package/libnfc/Default)
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libnfc
|
DEPENDS:=+libnfc
|
||||||
@ -51,12 +59,6 @@ endef
|
|||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
TARGET_CFLAGS += $(FPIC)
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
all install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/nfc $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/nfc $(1)/usr/include/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user