wok annotate python-phonenumbers/receipt @ rev 18622
Up libcaca (0.99.beta19)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Nov 22 10:03:23 2015 +0000 (2015-11-22) |
parents | 2a5cc8208d36 |
children | 8915ca584666 |
rev | line source |
---|---|
pascal@14438 | 1 # SliTaz package receipt. |
pascal@14438 | 2 |
pascal@14438 | 3 PACKAGE="python-phonenumbers" |
pascal@14438 | 4 SOURCE="phonenumbers" |
pascal@14438 | 5 VERSION="5.4b1" |
pascal@14438 | 6 CATEGORY="development" |
pascal@14438 | 7 SHORT_DESC="common library for parsing, formatting, storing and validating international phone numbers." |
pascal@14438 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="Apache" |
pascal@14438 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14438 | 11 WEB_SITE="https://github.com/daviddrysdale/python-phonenumbers" |
pascal@14438 | 12 #https://pypi.python.org/pypi/phonenumbers |
pascal@14438 | 13 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@14438 | 14 |
pascal@14438 | 15 DEPENDS="python" |
pascal@14438 | 16 BUILD_DEPENDS="python-dev python" |
pascal@14438 | 17 |
pascal@14438 | 18 # Rules to configure and make the package. |
pascal@14438 | 19 compile_rules() |
pascal@14438 | 20 { |
pascal@14438 | 21 python setup.py build && |
pascal@14438 | 22 python setup.py install --root=$DESTDIR |
pascal@14438 | 23 } |
pascal@14438 | 24 |
pascal@14438 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14438 | 26 genpkg_rules() |
pascal@14438 | 27 { |
pascal@14438 | 28 mkdir -p $fs |
pascal@14438 | 29 cp -a $install/usr $fs |
pascal@14438 | 30 } |