2011-07-06 11:36:05 +03:00
|
|
|
#
|
|
|
|
# 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
|
2013-03-31 11:03:31 +03:00
|
|
|
PKG_VERSION:=0.3
|
2011-07-06 11:36:05 +03:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/linux-zigbee/linux-zigbee-sources/$(PKG_VERSION)
|
2013-03-31 11:03:31 +03:00
|
|
|
PKG_MD5SUM:=564bdf163de5b33232d751383495a65c
|
2011-07-06 11:36:05 +03:00
|
|
|
|
|
|
|
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/
|
2013-03-31 11:03:31 +03:00
|
|
|
DEPENDS:=+libnl-3
|
2011-07-06 11:36:05 +03:00
|
|
|
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
|
|
|
|
|
2011-07-06 12:42:37 +03:00
|
|
|
define Build/InstallDev
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2013-03-31 11:03:31 +03:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/include/{ieee802154.h,nl802154.h} $(1)/usr/include
|
2011-07-06 12:42:37 +03:00
|
|
|
endef
|
|
|
|
|
2011-07-06 11:36:05 +03:00
|
|
|
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))
|