wok-next annotate jtoolkit/receipt @ rev 15629
xine-plugin: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 09 08:26:16 2013 +0000 (2013-12-09) |
parents | e862d9901ea1 |
children | 16df76e1fc6a |
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" |
pascal@15601 | 8 LICENSE="GPL2" |
pankso@3170 | 9 SOURCE="jToolkit" |
pankso@3170 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3170 | 11 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pankso@3170 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@3170 | 13 |
pascal@15601 | 14 DEPENDS="python" |
pascal@15601 | 15 BUILD_DEPENDS="python-dev" |
pascal@15601 | 16 |
pankso@3170 | 17 # Rules to configure and make the package. |
pankso@3170 | 18 compile_rules() |
pankso@3170 | 19 { |
pankso@3170 | 20 cd $src |
pascal@15601 | 21 python jToolkitSetup.py install --root=$DESTDIR |
pankso@3170 | 22 } |
pankso@3170 | 23 |
pankso@3170 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3170 | 25 genpkg_rules() |
pankso@3170 | 26 { |
pankso@3170 | 27 mkdir -p $fs/usr |
pascal@15601 | 28 cp -a $install/usr/lib $fs/usr |
pankso@3170 | 29 } |