wok-6.x annotate python-phonenumbers/receipt @ rev 17192
Add nzbget
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 07 15:46:53 2014 +0000 (2014-10-07) |
parents | 5ae3fce96604 |
children | 7390f8de9846 |
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 cd $src |
pascal@14438 | 22 python setup.py build && |
pascal@14438 | 23 python setup.py install --root=$DESTDIR |
pascal@14438 | 24 } |
pascal@14438 | 25 |
pascal@14438 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14438 | 27 genpkg_rules() |
pascal@14438 | 28 { |
pascal@14438 | 29 mkdir -p $fs |
pascal@14438 | 30 cp -a $install/usr $fs |
pascal@14438 | 31 } |