wok view python-ooop/receipt @ rev 19001

Use variables in $TARBALL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 23 11:51:37 2016 +0200 (2016-03-23)
parents 7d672a2330b8
children 814362194a8d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ooop"
4 SOURCE="${PACKAGE#*-}"
5 VERSION="0.2.3"
6 CATEGORY="development"
7 SHORT_DESC="OpenObject on Python, a library to connect with Open ERP."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://pypi.python.org/pypi/ooop"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-dev setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }