packages/ushare: add /etc/config/ushare to conffiles define
[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 PKG_BUILD_PARALLEL:=0
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/uob-nomad
22 SECTION:=net
23 CATEGORY:=Network
24 DEPENDS:=+kmod-iptunnel4 +libpthread
25 TITLE:=UoB Nomad
26 URL:=http://www.comnets.uni-bremen.de/~mab/openwrt/source/
27 endef
28
29 define Package/uob-nomad/description
30 This is an implementation of NOMADv4 (Filters for
31 Mobile IP, IETF Draft
32 draft-mobileip-nomad-filters-05.txt) for Linux,
33 based on the Sun Labs Mobile IP software. It is
34 released under the Sun Public License (SPL).
35
36 This version (0.11) has been modified to provide
37 status information to the UoB-NOMAD-GUI (ver 0.1).
38 endef
39
40 define Build/Compile
41 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Agent mipagent)
42 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools clean)
43 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools/lib clean)
44 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client/net-tools all)
45 $(call Build/Compile/Default,-C $(PKG_BUILD_DIR)/Client mipmn)
46 endef
47
48 define Package/uob-nomad/install
49 $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib $(1)/etc/
50 $(CP) $(PKG_BUILD_DIR)/Agent/mipagent $(1)/usr/bin/
51 $(CP) $(PKG_BUILD_DIR)/Client/mipmn $(1)/usr/bin
52 $(CP) $(PKG_BUILD_DIR)/conf/mip{agent,mn,mn-filters}.conf $(1)/etc/
53 endef
54
55 $(eval $(call BuildPackage,uob-nomad))