
Use a newer multi-service version, and integrate into the UCI configuration system properly (should work with luci too). Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@24959 3c298f89-4303-0410-b956-a3cf2f4a3e73
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
#
|
|
# 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))
|