[packages] libnfc: update to 1.3.4
authorNicolas Thill <nico@openwrt.org>
Mon, 19 Apr 2010 08:27:57 +0000 (08:27 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 19 Apr 2010 08:27:57 +0000 (08:27 +0000)
SVN-Revision: 21026

libs/libnfc/Makefile

index a5715d1..cd8350f 100644 (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/