wok-current annotate sqlobject/receipt @ rev 1333

Add sqlobject
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 31 11:02:08 2008 +0000 (2008-08-31)
parents
children 3d99ecce2d4b
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@1333 13 BUILD_DEPENDS="python"
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@1333 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