[package] update radvd to 1.5, select kmod-ipv6 (#5966)
[openwrt/svn-archive/archive.git] / net / uob-nomad / Makefile
1 # Copyright (C) 2006 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=uob-nomad
10 PKG_VERSION:=0.11
11 PKG_RELEASE:=1
12 PKG_MD5SUM:=9c7445cefaf8d6160017aef606f2e558
13
14 PKG_SOURCE_URL:=http://www.comnets.uni-bremen.de/~mab/openwrt/source/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/uob-nomad
20 SECTION:=net
21 CATEGORY:=Network
22 DEPENDS:=+kmod-iptunnel4 +libpthread
23 TITLE:=UoB Nomad
24 URL:=http://www.comnets.uni-bremen.de/~mab/openwrt/source/
25 endef
26
27 define Package/uob-nomad/description
28 This is an implementation of NOMADv4 (Filters for
29 Mobile IP, IETF Draft
30 draft-mobileip-nomad-filters-05.txt) for Linux,
31 based on the Sun Labs Mobile IP software. It is
32 released under the Sun Public License (SPL).
33
34 This version (0.11) has been modified to provide
35 status information to the UoB-NOMAD-GUI (ver 0.1).
36 endef
37
38 define Build/Compile
39 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Agent mipagent)
40 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools clean)
41 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools/lib clean)
42 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools all)
43 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client mipmn)
44 endef
45
46 define Package/uob-nomad/install
47 $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(1)/etc/
48 $(CP) $(PKG_BUILD_DIR)/Agent/mipagent $(1)/usr/bin/
49 $(CP) $(PKG_BUILD_DIR)/Client/mipmn $(1)/usr/bin
50 $(CP) $(PKG_BUILD_DIR)/conf/mip{agent,mn,mn-filters}.conf $(1)/etc/
51 endef
52
53 $(eval $(call BuildPackage,uob-nomad))