2 # Copyright (C) 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
13 PKG_SOURCE_URL
:=http
://www.dnspython.org
/kits
/$(PKG_VERSION
)
14 PKG_MD5SUM
:=3f2601ef3c8b77fc6d21a9c77a81efeb
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_MAINTAINER
:=Denis Shulyaka
<Shulyaka@gmail.com
>
18 PKG_LICENSE_FILES
:=LICENSE
20 include $(INCLUDE_DIR
)/package.mk
21 $(call include_mk
, python-package.mk
)
23 define Package
/python-dns
24 SECTION
:=language-python
28 URL
:=http
://www.dnspython.org
/
32 define Package
/python-dns
/description
33 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 $(call Build
/Compile
/PyMod
,,install --prefix=/usr
--root
=$(PKG_INSTALL_DIR
))
40 define Package
/python-dns
/install
41 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
42 $(CP
) $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/dns
/* \
46 $(eval
$(call BuildPackage
,python-dns
))