wok-current view python-phonenumbers/receipt @ rev 14438
Add python-phonenumbers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 25 12:56:03 2013 +0200 (2013-04-25) |
parents | |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-phonenumbers"
4 SOURCE="phonenumbers"
5 VERSION="5.4b1"
6 CATEGORY="development"
7 SHORT_DESC="common library for parsing, formatting, storing and validating international phone numbers."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/daviddrysdale/python-phonenumbers"
11 #https://pypi.python.org/pypi/phonenumbers
12 WGET_URL="http://pypi.python.org/packages/source/p/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }