# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id: $
+# $Id$
include $(TOPDIR)/rules.mk
define Package/uob-nomad
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+kmod-ipip +libpthread
+ DEPENDS:=+kmod-iptunnel4 +libpthread
TITLE:=UoB Nomad
- DESCRIPTION:=This is an implementation of NOMADv4 (Filters for\\\
- Mobile IP, IETF Draft\\\
- draft-mobileip-nomad-filters-05.txt) for Linux,\\\
- based on the Sun Labs Mobile IP software. It is\\\
- released under the Sun Public License (SPL).\\\
- \\\
- This version (0.11) has been modified to provide\\\
- status information to the UoB-NOMAD-GUI (ver 0.1).
URL:=http://www.comnets.uni-bremen.de/~mab/openwrt/source/
endef
+define Package/uob-nomad/description
+This is an implementation of NOMADv4 (Filters for
+ Mobile IP, IETF Draft
+ draft-mobileip-nomad-filters-05.txt) for Linux,
+ based on the Sun Labs Mobile IP software. It is
+ released under the Sun Public License (SPL).
+
+ This version (0.11) has been modified to provide
+ status information to the UoB-NOMAD-GUI (ver 0.1).
+endef
+
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)/Agent \
- CC=$(TARGET_CC) \
- $(TARGET_CONFIGURE_OPTS) \
- mipagent
- $(MAKE) -C $(PKG_BUILD_DIR)/Client/net-tools \
- CC=$(TARGET_CC) \
- $(TARGET_CONFIGURE_OPTS) \
- clean
- $(MAKE) -C $(PKG_BUILD_DIR)/Client/net-tools/lib \
- CC=$(TARGET_CC) \
- $(TARGET_CONFIGURE_OPTS) \
- clean
- $(MAKE) -C $(PKG_BUILD_DIR)/Client/net-tools \
- CC=$(TARGET_CC) \
- $(TARGET_CONFIGURE_OPTS) \
- all
- $(MAKE) -C $(PKG_BUILD_DIR)/Client \
- CC=$(TARGET_CC) \
- $(TARGET_CONFIGURE_OPTS) \
- mipmn
+$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Agent mipagent)
+$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools clean)
+$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools/lib clean)
+$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools all)
+$(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client mipmn)
endef
-define Package/uob-nomad/install
- install -d -m0755 $(1)/usr/bin $(1)/usr/lib $(1)/etc/
+define Package/uob-nomad/install
+ $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(1)/etc/
$(CP) $(PKG_BUILD_DIR)/Agent/mipagent $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/Client/mipmn $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/conf/mip{agent,mn,mn-filters}.conf $(1)/etc/