aMule: update to 2.3.1
[openwrt/svn-archive/archive.git] / net / ez-ipupdate / Makefile
1 #
2 # Copyright (C) 2006-2012 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:=8
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 include $(INCLUDE_DIR)/package.mk
20
21 define Package/ez-ipupdate
22 SECTION:=net
23 CATEGORY:=Network
24 SUBMENU:=IP Addresses and Names
25 TITLE:=Dynamic DNS services client
26 URL:=http://ez-ipupdate.com/
27 endef
28
29 # uses GNU configure
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR)
33 endef
34
35 define Package/ez-ipupdate/install
36 $(INSTALL_DIR) $(1)/usr/sbin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ez-ipupdate $(1)/usr/sbin/
38 $(INSTALL_DIR) $(1)/etc/config/
39 $(INSTALL_CONF) ./files/ez-ipupdate.config $(1)/etc/config/ddns
40 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
41 $(INSTALL_BIN) ./files/ez-ipupdate.hotplug $(1)/etc/hotplug.d/iface/30-ez-ipupdate
42 endef
43
44 define Package/ez-ipupdate/conffiles
45 /etc/config/ddns
46 endef
47
48 $(eval $(call BuildPackage,ez-ipupdate))