bridge-utils: fix a struct in6_addr reference
[openwrt/svn-archive/archive.git] / net / dudders / Makefile
1 #
2 # Copyright (C) 2010-2011 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:=dudders
11 PKG_VERSION:=1.04
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
16 PKG_MD5SUM:=1d368a86f3c284e95d260a94767a8ded
17
18 PKG_BUILD_DEPENDS:=+libopenssl +libgcrypt
19 PKG_FIXUP:=autoreconf
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/dudders
25 SECTION:=net
26 CATEGORY:=Network
27 SUBMENU:=IP Addresses and Names
28 DEPENDS:=+libopenssl +libgcrypt +libgpg-error
29 TITLE:=DNS Update SIG(0) client
30 MAINTAINER:=Dean Scarff <dos@scarff.id.au>
31 URL:=http://dudders.sourceforge.net/
32 endef
33
34 define Package/dudders/description
35 Dudders is a utility for updating DNS records. It points
36 a domain name to a given IP address, using the RFC2136 DNS
37 UPDATE protocol and a SIG(0) signature. It is designed with
38 embedded systems in mind.
39
40 You must have either libopenssl or libgcrypt installed to
41 use this package.
42 endef
43
44 define Package/dudders/conffiles
45 /etc/config/dudders
46 endef
47
48 EXTRA_CFLAGS:= -DNDEBUG -std=gnu99
49
50 CONFIGURE_ARGS+= \
51 --with-libgcrypt-prefix="$(STAGING_DIR)/usr"
52
53 define Package/dudders/install
54 $(INSTALL_DIR) $(1)/usr/bin
55 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dudders $(1)/usr/bin/
56 $(INSTALL_DIR) $(1)/usr/lib/dudders
57 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_gcrypt.so \
58 $(1)/usr/lib/dudders/
59 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_openssl.so \
60 $(1)/usr/lib/dudders/
61 $(INSTALL_DIR) $(1)/etc/config
62 $(INSTALL_CONF) ./files/dudders.config $(1)/etc/config/dudders
63 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
64 $(INSTALL_BIN) ./files/dudders.hotplug $(1)/etc/hotplug.d/iface/50-dudders
65 endef
66
67 $(eval $(call BuildPackage,dudders))