2014-10-25 22:38:03 +00:00
#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
2014-12-10 11:19:44 +00:00
PKG_NAME := python-dns
2014-10-25 22:38:03 +00:00
PKG_RELEASE := 1
PKG_VERSION := 1.12.0
2014-11-04 11:02:26 +00:00
PKG_SOURCE_URL := http://www.dnspython.org/kits/$( PKG_VERSION)
2014-10-25 22:38:03 +00:00
PKG_MD5SUM := 3f2601ef3c8b77fc6d21a9c77a81efeb
2014-12-10 11:19:44 +00:00
PKG_SOURCE := dnspython-$( PKG_VERSION) .tar.gz
2014-10-25 22:38:03 +00:00
PKG_MAINTAINER := Denis Shulyaka <Shulyaka@gmail.com>
PKG_LICENSE := ISC
2014-11-25 07:42:42 +00:00
PKG_LICENSE_FILES := LICENSE
2014-12-10 11:19:44 +00:00
PKG_BUILD_DIR := $( BUILD_DIR) /dnspython-$( PKG_VERSION)
2014-10-25 22:38:03 +00:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
$( call include_mk , python -package .mk )
d e f i n e P a c k a g e / p y t h o n - d n s
SECTION:= language-python
CATEGORY:= Languages
SUBMENU:= Python
TITLE:= dnspython
URL:= http://www.dnspython.org/
2014-12-09 14:26:03 +00:00
DEPENDS:= +python
2014-10-25 22:38:03 +00:00
e n d e f
d e f i n e P a c k a g e / p y t h o n - d n s / d e s c r i p t i o n
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.
e n d e f
d e f i n e B u i l d / C o m p i l e
2014-12-10 11:11:17 +00:00
$( call Build/Compile/PyMod,,\
install --prefix= " $( PKG_INSTALL_DIR) /usr " \
)
2014-10-25 22:38:03 +00:00
e n d e f
2014-12-10 11:26:56 +00:00
$( eval $ ( call PyPackage ,python -dns ) )
2014-10-25 22:38:03 +00:00
$( eval $ ( call BuildPackage ,python -dns ) )