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:=git
9PKG_REV:=a1d9615adde6d1a568813c24a128273ed755af04
10PKG_RELEASE:=1
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REV).tar.gz
13PKG_SOURCE_URL:=git://linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee
14PKG_SOURCE_PROTO:=git
15PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
16PKG_SOURCE_VERSION:=$(PKG_REV)
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/lowpan-tools
21    TITLE:=a set of utils to manage the Linux LoWPAN stack
22    SECTION:=network
23    CATEGORY:=Network
24    URL:=http://sourceforge.net/apps/trac/linux-zigbee/
25    DEPENDS:=+libnl-3
26endef
27
28define Package/lowpan-tools/description
29This is a set of utils to manage the Linux LoWPAN stack.
30The LoWPAN stack aims for IEEE 802.15.4-2003 (and for lesser extent
31IEEE 802.15.4-2006) compatibility.
32
33If you want to learn more, please go to http://linux-zigbee.sf.net/
34endef
35
36define Build/Prepare
37    $(call Build/Prepare/Default)
38    (cd $(PKG_BUILD_DIR) && ./autogen.sh --help)
39endef
40
41define Build/InstallDev
42    $(INSTALL_DIR) $(1)/usr/include
43    $(CP) $(PKG_BUILD_DIR)/include/{ieee802154.h,nl802154.h} $(1)/usr/include
44endef
45
46define Package/lowpan-tools/install
47    $(INSTALL_DIR) $(1)/usr/sbin
48    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{iz,izattach,izchat,izcoordinator} $(1)/usr/sbin/
49endef
50
51$(eval $(call BuildPackage,lowpan-tools))
52

Archive Download this file



interactive