wok-next annotate jtoolkit/receipt @ rev 13605
Up: kmod (11)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 10 19:54:06 2012 +0100 (2012-11-10) |
parents | |
children | 23c3aed67cd9 |
rev | line source |
---|---|
pankso@3170 | 1 # SliTaz package receipt. |
pankso@3170 | 2 |
pankso@3170 | 3 PACKAGE="jtoolkit" |
pankso@3170 | 4 VERSION="0.7.8" |
pankso@3170 | 5 CATEGORY="system-tools" |
pankso@3170 | 6 SHORT_DESC="Python web application framework built on modpython and Apache." |
pankso@3170 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3170 | 8 DEPENDS="python" |
pankso@3170 | 9 BUILD_DEPENDS="python-dev" |
pankso@3170 | 10 SOURCE="jToolkit" |
pankso@3170 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3170 | 12 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pankso@3170 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@3170 | 14 |
pankso@3170 | 15 # Rules to configure and make the package. |
pankso@3170 | 16 compile_rules() |
pankso@3170 | 17 { |
pankso@3170 | 18 cd $src |
pankso@3170 | 19 python jToolkitSetup.py install --root=$PWD/_pkg |
pankso@3170 | 20 } |
pankso@3170 | 21 |
pankso@3170 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3170 | 23 genpkg_rules() |
pankso@3170 | 24 { |
pankso@3170 | 25 mkdir -p $fs/usr |
pankso@3170 | 26 cp -a $_pkg/usr/lib $fs/usr |
pankso@3170 | 27 } |