source: packages/net/yaddns/Makefile @ 24959

Last change on this file since 24959 was 24959, checked in by jow, 6 years ago

[PATCH] package/yaddns: bump version, add uci compatibility
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@…>

File size: 1.2 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=yaddns
11PKG_VERSION:=1.0-rc2
12PKG_REV:=1
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16PKG_SOURCE_URL:=svn://patatrac.info/yaddns/tags/yaddns-1.0-rc2
17PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18PKG_SOURCE_VERSION:=$(PKG_REV)
19PKG_SOURCE_PROTO:=svn
20
21PKG_INSTALL:=1
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/yaddns
26  SECTION:=net
27  CATEGORY:=Network
28  TITLE:=Yet Another DDNS client
29  URL:=http://patatrac.info/yaddns
30endef
31
32define Package/yaddns/description
33Yaddns is a small ddns client with multiple ddns server supports (dyndns, ...)
34and a high flexibility. Yaddns is particularly appropriate for embedded systems.
35endef
36
37define Package/yaddns/conffiles
38/etc/config/ddns
39endef
40
41define 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, )
46endef
47
48define 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)/
52endef
53
54$(eval $(call BuildPackage,yaddns))
Note: See TracBrowser for help on using the repository browser.