wok-current annotate sqlobject/receipt @ rev 17317
Add tix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 08:58:28 2014 +0100 (2014-11-04) |
parents | e4278677885e |
children | 7390f8de9846 |
rev | line source |
---|---|
pascal@1333 | 1 # SliTaz package receipt. |
pascal@1333 | 2 |
pascal@1333 | 3 PACKAGE="sqlobject" |
slaxemulator@6605 | 4 VERSION="0.12.1" |
pascal@1333 | 5 CATEGORY="development" |
pascal@1333 | 6 SHORT_DESC="object-relational mapper for the Python." |
pascal@1333 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15582 | 8 LICENSE="LGPL" |
pascal@1333 | 9 SOURCE="SQLObject" |
pascal@1333 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1333 | 11 WEB_SITE="http://sqlobject.org/" |
pascal@1333 | 12 WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL" |
pascal@15582 | 13 |
pascal@1333 | 14 DEPENDS="python" |
slaxemulator@6605 | 15 BUILD_DEPENDS="python python-dev setuptools" |
pascal@1333 | 16 |
pascal@1333 | 17 # Rules to configure and make the package. |
pascal@1333 | 18 compile_rules() |
pascal@1333 | 19 { |
pascal@1333 | 20 cd $src |
pascal@1511 | 21 python setup.py build && |
pascal@15582 | 22 python setup.py install --root=$DESTDIR |
pascal@1333 | 23 } |
pascal@1333 | 24 |
pascal@1333 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1333 | 26 genpkg_rules() |
pascal@1333 | 27 { |
pascal@15582 | 28 cp -a $install/usr $fs |
pascal@1333 | 29 } |
pascal@1333 | 30 |