source: packages/net/dudders/Makefile @ 22695

Last change on this file since 22695 was 22695, checked in by dingo, 6 years ago

[Patchteam] New Package Dudders - a utility for updating DNS records
Signed-off-by: Dean Scarff <dos@…>

File size: 1.8 KB
Line 
1# $Id$
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=dudders
6PKG_VERSION:=1.04
7PKG_RELEASE:=1
8
9PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
11PKG_SOURCE_URL:=@SF/$(PKG_NAME)
12PKG_SHA1SUM:=ae3fc90804698468c8f8e285c2387eb629c25dbf
13PKG_CAT:=bzcat
14PKG_BUILD_DEPENDS:=+libopenssl +libgcrypt
15PKG_FIXUP:=libtool
16PKG_INSTALL:=1
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/dudders
21  SECTION:=net
22  CATEGORY:=Network
23  SUBMENU:=DNS
24  TITLE:=DNS Update SIG(0) client
25  MAINTAINER:=<dos@scarff.id.au>
26  DEPENDS:=
27  URL:=http://dudders.sourceforge.net/
28endef
29
30define Package/dudders/description
31  Dudders is a utility for updating DNS records.  It points
32  a domain name to a given IP address, using the RFC2136 DNS
33  UPDATE protocol and a SIG(0) signature.  It is designed with
34  embedded systems in mind.
35
36  You must have either libopenssl or libgcrypt installed to
37  use this package.
38endef
39
40define Package/dudders/conffiles
41/etc/config/dudders
42endef
43
44EXTRA_CFLAGS:= -DNDEBUG -std=gnu99
45
46CONFIGURE_ARGS+= \
47                --with-libgcrypt-prefix="$(STAGING_DIR)/usr"
48
49define Package/dudders/install
50        $(INSTALL_DIR) $(1)/usr/bin
51       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dudders $(1)/usr/bin
52       $(INSTALL_DIR) $(1)/usr/lib/dudders
53       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_gcrypt.so \
54                      $(1)/usr/lib/dudders
55       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_openssl.so \
56                       $(1)/usr/lib/dudders
57       $(INSTALL_DIR) $(1)/etc/config
58       $(INSTALL_CONF) ./files/dudders.conf $(1)/etc/config/dudders
59       $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
60       $(INSTALL_BIN) ./files/dudders.hotplug $(1)/etc/hotplug.d/iface/30-dudders
61endef
62
63$(eval $(call BuildPackage,dudders))
Note: See TracBrowser for help on using the repository browser.