2 # Copyright (C) 2011-2015 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_HASH
:=8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd
18 PKG_LICENSE
:=BSD-3-Clause
19 PKG_LICENSE_FILES
:=LICENSE
20 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libldns
/Default
28 URL
:=http
://www.nlnetlabs.nl
/projects
/ldns
/
32 define Package
/libldns
33 $(call Package
/libldns
/Default
)
36 TITLE
:=A library to simplify DNS programming
39 define Package
/libldns
/description
40 The goal of ldns is to simplify DNS programming
, it supports recent RFCs like
41 the DNSSEC documents
, and allows developers to easily create software
42 conforming to current RFCs
, and experimental software for current Internet
47 $(call Package
/libldns
/Default
)
50 SUBMENU
:=IP Addresses and Names
51 TITLE
:=DNS
(SEC
) information tool
55 define Package
/drill
/description
56 drill is a tool to designed to
get all sorts of information out of the DNS. It
57 is specificly designed to be used with DNSSEC.
64 --with-ssl
="$(STAGING_DIR)/usr"
66 define Build
/InstallDev
67 $(INSTALL_DIR
) $(1)/usr
/include
68 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/ldns
$(1)/usr
/include/
69 $(INSTALL_DIR
) $(1)/usr
/lib
70 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libldns.
{a
,so
*} $(1)/usr
/lib
/
73 define Package
/libldns
/install
74 $(INSTALL_DIR
) $(1)/usr
/lib
75 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libldns.so.
* $(1)/usr
/lib
/
78 define Package
/drill
/install
79 $(INSTALL_DIR
) $(1)/usr
/bin
80 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/drill
$(1)/usr
/bin
/
83 $(eval
$(call BuildPackage
,libldns
))
84 $(eval
$(call BuildPackage
,drill
))