update radsecproxy to version 1.3
[openwrt/svn-archive/archive.git] / net / ez-ipupdate / Makefile
1 #
2 # Copyright (C) 2006-2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ez-ipupdate
11 PKG_VERSION:=3.0.11b8
12 PKG_RELEASE:=4
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/e/ez-ipupdate \
16 http://ftp.de.debian.org/debian/pool/main/e/ez-ipupdate
17 PKG_MD5SUM:=000211add4c4845ffa4211841bff4fb0
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/ez-ipupdate
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Dynamic DNS services client
27 URL:=http://ez-ipupdate.com/
28 endef
29
30 # uses GNU configure
31
32 define Build/Compile
33 $(MAKE) -C $(PKG_BUILD_DIR)
34 endef
35
36 define Package/ez-ipupdate/install
37 $(INSTALL_DIR) $(1)/usr/sbin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
39 $(INSTALL_DIR) $(1)/etc/config/
40 $(INSTALL_CONF) ./files/ez-ipupdate.config $(1)/etc/config/ddns
41 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
42 $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/30-ez-ipupdate
43 endef
44
45 $(eval $(call BuildPackage,ez-ipupdate))