From: Xiangfu <xian...@openmobilefree.net>

---
 net/lowpan-tools/Makefile |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 net/lowpan-tools/Makefile


diff --git a/net/lowpan-tools/Makefile b/net/lowpan-tools/Makefile
new file mode 100644
index 0000000..cdb083a
--- /dev/null
+++ b/net/lowpan-tools/Makefile
@@ -0,0 +1,43 @@
+# 
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=lowpan-tools
+PKG_VERSION:=0.2.2
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/linux-zigbee/linux-zigbee-sources/$(PKG_VERSION)
+PKG_MD5SUM:=c727b36e5a6053b15e54ecf220bd5d6b
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/lowpan-tools
+    TITLE:=a set of utils to manage the Linux LoWPAN stack
+    SECTION:=network
+    CATEGORY:=Network
+    URL:=http://sourceforge.net/apps/trac/linux-zigbee/
+    DEPENDS:=+libnl-1
+endef
+
+define Package/lowpan-tools/description
+This is a set of utils to manage the Linux LoWPAN stack.
+The LoWPAN stack aims for IEEE 802.15.4-2003 (and for lesser extent
+IEEE 802.15.4-2006) compatibility.
+
+If you want to learn more, please go to http://linux-zigbee.sf.net/
+endef
+
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include
+       $(CP) $(PKG_BUILD_DIR)/include/ieee802154.h $(1)/usr/include
+endef
+
+define Package/lowpan-tools/install
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{iz,izattach,izchat,izcoordinator} 
$(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,lowpan-tools))
-- 
1.7.9.5

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to