projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[packages] libiconv: declare api functions as extern "C", solves linking with C+...
[packages.git]
/
libs
/
libnfc
/
Makefile
diff --git
a/libs/libnfc/Makefile
b/libs/libnfc/Makefile
index
a5715d1
..
e22ecf0
100644
(file)
--- a/
libs/libnfc/Makefile
+++ b/
libs/libnfc/Makefile
@@
-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
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_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://libnfc.googlecode.com/files/
-PKG_MD5SUM:=
88aeb2f6c3ddf32ae52aedc9b179e49c
+PKG_MD5SUM:=
f89f58e70b72bf4aac0567d0741719c8
-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
define Package/libnfc
endef
define Package/libnfc
-
$(call Package/libnfc/Default)
+$(call Package/libnfc/Default)
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libpcsclite +libusb +pcscd +ccid
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libpcsclite +libusb +pcscd +ccid
@@
-36,7
+44,7
@@
define Package/libnfc/description
endef
define Package/libnfc-examples
endef
define Package/libnfc-examples
-
$(call Package/libnfc/Default)
+$(call Package/libnfc/Default)
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libnfc
SECTION:=utils
CATEGORY:=Utilities
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
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/nfc $(1)/usr/include/
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/nfc $(1)/usr/include/