Root/lowpan-tools/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=lowpan-tools
8PKG_VERSION:=0.2.2
9PKG_RELEASE:=1
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=@SF/linux-zigbee/linux-zigbee-sources/$(PKG_VERSION)
13PKG_MD5SUM:=c727b36e5a6053b15e54ecf220bd5d6b
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/lowpan-tools
18    TITLE:=a set of utils to manage the Linux LoWPAN stack
19    SECTION:=network
20    CATEGORY:=Network
21    URL:=http://sourceforge.net/apps/trac/linux-zigbee/
22    DEPENDS:=+libnl-1
23endef
24
25define Package/lowpan-tools/description
26This is a set of utils to manage the Linux LoWPAN stack.
27The LoWPAN stack aims for IEEE 802.15.4-2003 (and for lesser extent
28IEEE 802.15.4-2006) compatibility.
29
30If you want to learn more, please go to http://linux-zigbee.sf.net/
31endef
32
33define Build/InstallDev
34    $(INSTALL_DIR) $(1)/usr/include
35    $(CP) $(PKG_BUILD_DIR)/include/ieee802154.h $(1)/usr/include
36endef
37
38define Package/lowpan-tools/install
39    $(INSTALL_DIR) $(1)/usr/sbin
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{iz,izattach,izchat,izcoordinator} $(1)/usr/sbin/
41endef
42
43$(eval $(call BuildPackage,lowpan-tools))
44

Archive Download this file



interactive