2010-03-28 16:58:19 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=yaddns
|
2011-01-10 16:10:04 +00:00
|
|
|
PKG_VERSION:=1.0-rc2
|
|
|
|
PKG_REV:=1
|
2010-03-28 16:58:19 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2011-01-10 16:10:04 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=svn://patatrac.info/yaddns/tags/yaddns-1.0-rc2
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
|
|
PKG_SOURCE_PROTO:=svn
|
2010-03-28 16:58:19 +00:00
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/yaddns
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Yet Another DDNS client
|
|
|
|
URL:=http://patatrac.info/yaddns
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/yaddns/description
|
|
|
|
Yaddns is a small ddns client with multiple ddns server supports (dyndns, ...)
|
|
|
|
and a high flexibility. Yaddns is particularly appropriate for embedded systems.
|
|
|
|
endef
|
|
|
|
|
2011-01-10 16:10:04 +00:00
|
|
|
define Package/yaddns/conffiles
|
|
|
|
/etc/config/ddns
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
|
|
|
$(SED) '/^AM_CFLAGS/ s/-Werror//' src/Makefile.am; \
|
|
|
|
./autogen.sh);
|
|
|
|
$(call Build/Configure/Default, )
|
|
|
|
endef
|
|
|
|
|
2010-03-28 16:58:19 +00:00
|
|
|
define Package/yaddns/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yaddns $(1)/usr/bin/
|
2011-01-10 16:10:04 +00:00
|
|
|
$(CP) ./files/* $(1)/
|
2010-03-28 16:58:19 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,yaddns))
|