wok-current view python-phonenumbers/receipt @ rev 15026

sylpheed: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 22:07:47 2013 +0000 (2013-08-11)
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 }