wok-next annotate python-phonenumbers/receipt @ rev 14697
expedite: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:38 2013 +0200 (2013-06-06) |
parents | |
children | 2a5cc8208d36 |
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@14438 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14438 | 10 WEB_SITE="https://github.com/daviddrysdale/python-phonenumbers" |
pascal@14438 | 11 #https://pypi.python.org/pypi/phonenumbers |
pascal@14438 | 12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@14438 | 13 |
pascal@14438 | 14 DEPENDS="python" |
pascal@14438 | 15 BUILD_DEPENDS="python-dev python" |
pascal@14438 | 16 |
pascal@14438 | 17 # Rules to configure and make the package. |
pascal@14438 | 18 compile_rules() |
pascal@14438 | 19 { |
pascal@14438 | 20 cd $src |
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 } |