noddos: Noddos v0.5.0 with mDNS / DNS-SD support
[feed/packages.git] / lang / python / python-dns / Makefile
1 #
2 # Copyright (C) 2014 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:=python-dns
11 PKG_RELEASE:=2
12 PKG_VERSION:=1.15.0
13 PKG_SOURCE_URL:=http://www.dnspython.org/kits/$(PKG_VERSION)
14 PKG_MD5SUM:=63a679089822fb86127867c315286dc5
15 PKG_SOURCE:=dnspython-$(PKG_VERSION).tar.gz
16 PKG_MAINTAINER:=Denis Shulyaka <Shulyaka@gmail.com>
17 PKG_LICENSE:=ISC
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_BUILD_DIR:=$(BUILD_DIR)/dnspython-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22 $(call include_mk, python-package.mk)
23
24 define Package/python-dns
25 SECTION:=language-python
26 CATEGORY:=Languages
27 SUBMENU:=Python
28 TITLE:=dnspython
29 URL:=http://www.dnspython.org/
30 DEPENDS:=+python
31 endef
32
33 define Package/python-dns/description
34 dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
35 endef
36
37 define Build/Compile
38 $(call Build/Compile/PyMod,,\
39 install --prefix=/usr --root="$(PKG_INSTALL_DIR)" \
40 )
41 endef
42
43 $(eval $(call PyPackage,python-dns))
44 $(eval $(call BuildPackage,python-dns))