2 # Copyright (C) 2011-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.nlnetlabs.nl
/downloads
/ldns
16 PKG_MD5SUM
:=a79423bcc4129e6d59b616b1cae11e5e
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libldns
/Default
24 URL
:=http
://www.nlnetlabs.nl
/projects
/ldns
/
28 define Package
/libldns
29 $(call Package
/libldns
/Default
)
32 TITLE
:=A library to simplify DNS programming
35 define Package
/libldns
/description
36 The goal of ldns is to simplify DNS programming
, it supports recent RFCs like
37 the DNSSEC documents
, and allows developers to easily create software
38 conforming to current RFCs
, and experimental software for current Internet
43 $(call Package
/libldns
/Default
)
46 SUBMENU
:=IP Addresses and Names
47 TITLE
:=DNS
(SEC
) information tool
51 define Package
/drill
/description
52 drill is a tool to designed to
get all sorts of information out of the DNS. It
53 is specificly designed to be used with DNSSEC.
60 --with-ssl
="$(STAGING_DIR)/usr"
62 define Build
/InstallDev
63 $(INSTALL_DIR
) $(1)/usr
/include
64 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/ldns
$(1)/usr
/include/
65 $(INSTALL_DIR
) $(1)/usr
/lib
66 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libldns.
{a
,so
*} $(1)/usr
/lib
/
69 define Package
/libldns
/install
70 $(INSTALL_DIR
) $(1)/usr
/lib
71 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libldns.so.
* $(1)/usr
/lib
/
74 define Package
/drill
/install
75 $(INSTALL_DIR
) $(1)/usr
/bin
76 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/drill
$(1)/usr
/bin
/
79 $(eval
$(call BuildPackage
,libldns
))
80 $(eval
$(call BuildPackage
,drill
))