wok-current annotate jtoolkit/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | 23c3aed67cd9 |
children | ba7cbdb5749c |
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 { |
al@18077 | 20 python jToolkitSetup.py install --root=$DESTDIR |
pankso@3170 | 21 } |
pankso@3170 | 22 |
pankso@3170 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3170 | 24 genpkg_rules() |
pankso@3170 | 25 { |
al@18077 | 26 mkdir -p $fs/usr |
al@18077 | 27 cp -a $install/usr/lib $fs/usr |
pankso@3170 | 28 } |