wok-current view python-vatnumber/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
parents | |
children | bf4a09ef1d2e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-vatnumber"
4 SOURCE="vatnumber"
5 VERSION="1.0"
6 CATEGORY="development"
7 SHORT_DESC="Validate VAT numbers for Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://code.google.com/p/vatnumber"
11 WGET_URL="http://vatnumber.googlecode.com/files/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev python setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $_pkg/usr $fs
29 }