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