wok-next view python-dnspython/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | 16df76e1fc6a |
children | 9b3461bf373c |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dnspython"
4 VERSION="1.10.0"
5 CATEGORY="development"
6 SHORT_DESC="a DNS toolkit for Python"
7 MAINTAINER="monghitri@aruba.it"
8 LICENSE="BSD"
9 SOURCE="dnspython"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.dnspython.org/"
12 WGET_URL="http://www.dnspython.org/kits/$VERSION/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }