wok-4.x annotate sqlobject/receipt @ rev 2170
linux: speedtouch needs hdlc support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 07 20:58:54 2009 +0000 (2009-02-07) |
parents | 961ea4e30e54 |
children | e4278677885e |
rev | line source |
---|---|
pascal@1333 | 1 # SliTaz package receipt. |
pascal@1333 | 2 |
pascal@1333 | 3 PACKAGE="sqlobject" |
pascal@1333 | 4 VERSION="0.10.2" |
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" |
pascal@1511 | 13 BUILD_DEPENDS="python python-dev" |
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 |