wok-current annotate python-phonenumbers/receipt @ rev 18287
yuyo-gtk-theme: update version
author | yuripourre |
---|---|
date | Tue Aug 11 10:05:04 2015 -0400 (2015-08-11) |
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 } |