# # 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 PKG_VERSION:=1.0-rc2 PKG_REV:=1 PKG_RELEASE:=1 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 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 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 define Package/yaddns/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/yaddns $(1)/usr/bin/ $(CP) ./files/* $(1)/ endef $(eval $(call BuildPackage,yaddns))