Fresh pull from upstream (stable) package feed
[librecmc/package-feed.git] / lang / 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 PKG_BUILD_DEPENDS:=python-setuptools/host
22
23 include $(INCLUDE_DIR)/package.mk
24 $(call include_mk, python-package.mk)
25
26 define Package/python-dns
27         SECTION:=language-python
28         CATEGORY:=Languages
29         SUBMENU:=Python
30         TITLE:=dnspython
31         URL:=http://www.dnspython.org/
32         DEPENDS:=+python
33 endef
34
35 define Package/python-dns/description
36  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.
37 endef
38
39 define Build/Compile
40         $(call Build/Compile/PyMod,,\
41                 install --prefix=/usr --root="$(PKG_INSTALL_DIR)" \
42         )
43 endef
44
45 $(eval $(call PyPackage,python-dns))
46 $(eval $(call BuildPackage,python-dns))