wok-next diff python-pyweb/receipt @ rev 15357

gcc+gcj: replace mkdir_p in shell script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 01 10:32:37 2013 +0000 (2013-10-01)
parents
children fd4f1e692109
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pyweb/receipt	Tue Oct 01 10:32:37 2013 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-pyweb"
     1.7 +SOURCE="web.py"
     1.8 +VERSION="0.37"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A web framework for Python."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://webpy.org/"
    1.14 +WGET_URL="${WEB_SITE}static/$TARBALL"
    1.15 +DEPENDS="python"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	python setup.py build
    1.22 +	python setup.py install --root=$DESTDIR
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr
    1.29 +	cp -a $install/usr/lib $fs/usr
    1.30 +}