wok annotate sqlobject/receipt @ rev 13128
raptor-dev: compatibility hack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 05 10:36:26 2012 +0200 (2012-07-05) |
parents | 3d99ecce2d4b |
children | 3d805214d753 |
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@1333 | 8 SOURCE="SQLObject" |
pascal@1333 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1333 | 10 WEB_SITE="http://sqlobject.org/" |
pascal@1333 | 11 WGET_URL="http://pypi.python.org/packages/source/S/$SOURCE/$TARBALL" |
pascal@1333 | 12 DEPENDS="python" |
slaxemulator@6605 | 13 BUILD_DEPENDS="python python-dev setuptools" |
pascal@1333 | 14 |
pascal@1333 | 15 # Rules to configure and make the package. |
pascal@1333 | 16 compile_rules() |
pascal@1333 | 17 { |
pascal@1333 | 18 cd $src |
pascal@1511 | 19 python setup.py build && |
pascal@1333 | 20 python setup.py install --root=$PWD/_pkg |
pascal@1333 | 21 } |
pascal@1333 | 22 |
pascal@1333 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1333 | 24 genpkg_rules() |
pascal@1333 | 25 { |
pascal@1333 | 26 cp -a $_pkg/usr $fs |
pascal@1333 | 27 } |
pascal@1333 | 28 |