wok-next annotate sqlobject/receipt @ rev 9857
obconf: fix BUILD_DEPENDS (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 15:34:53 2011 +0200 (2011-05-16) |
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 |