[packages] tor: update to 0.2.1.29 (CVE-2011-0427)
[openwrt/svn-archive/archive.git] / net / yaddns / Makefile
1 #
2 # Copyright (C) 2006-2010 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:=yaddns
11 PKG_VERSION:=1.0-rc2
12 PKG_REV:=1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=svn://patatrac.info/yaddns/tags/yaddns-1.0-rc2
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=$(PKG_REV)
19 PKG_SOURCE_PROTO:=svn
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/yaddns
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=Yet Another DDNS client
29 URL:=http://patatrac.info/yaddns
30 endef
31
32 define Package/yaddns/description
33 Yaddns is a small ddns client with multiple ddns server supports (dyndns, ...)
34 and a high flexibility. Yaddns is particularly appropriate for embedded systems.
35 endef
36
37 define Package/yaddns/conffiles
38 /etc/config/ddns
39 endef
40
41 define Build/Configure
42 (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
43 $(SED) '/^AM_CFLAGS/ s/-Werror//' src/Makefile.am; \
44 ./autogen.sh);
45 $(call Build/Configure/Default, )
46 endef
47
48 define Package/yaddns/install
49 $(INSTALL_DIR) $(1)/usr/bin
50 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yaddns $(1)/usr/bin/
51 $(CP) ./files/* $(1)/
52 endef
53
54 $(eval $(call BuildPackage,yaddns))