wok-next annotate python-bpython/receipt @ rev 9149
Fixed java-jre and java-jdk. (I hope.)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 06 16:40:40 2011 +0000 (2011-03-06) |
parents | 83e2c1cabb15 |
children | d1768332cee0 |
rev | line source |
---|---|
claudinei@3421 | 1 # SliTaz package receipt. |
claudinei@3421 | 2 |
claudinei@3421 | 3 PACKAGE="python-bpython" |
claudinei@3421 | 4 SOURCE="bpython" |
claudinei@4669 | 5 VERSION="0.9.5.2" |
claudinei@3421 | 6 CATEGORY="development" |
claudinei@3421 | 7 SHORT_DESC="A fancy interface to the Python interpreter." |
claudinei@3421 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3421 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3421 | 10 WEB_SITE="http://www.bpython-interpreter.org" |
claudinei@3421 | 11 WGET_URL="$WEB_SITE/releases/$TARBALL" |
claudinei@3421 | 12 DEPENDS="python python-pygments setuptools" |
claudinei@3421 | 13 BUILD_DEPENDS="$DEPENDS python-dev" |
claudinei@3421 | 14 |
claudinei@3421 | 15 # Rules to configure and make the package. |
claudinei@3421 | 16 compile_rules() |
claudinei@3421 | 17 { |
claudinei@3421 | 18 cd $src |
claudinei@3421 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3421 | 20 } |
claudinei@3421 | 21 |
claudinei@3421 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3421 | 23 genpkg_rules() |
claudinei@3421 | 24 { |
claudinei@3788 | 25 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3788 | 26 rm $file |
claudinei@3788 | 27 done |
claudinei@3421 | 28 rm -rf $_pkg/usr/share/applications |
claudinei@3421 | 29 mkdir -p $fs/usr $fs/usr/share/applications |
claudinei@3421 | 30 cp -a $_pkg/usr/bin $fs/usr |
claudinei@3421 | 31 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3421 | 32 cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications |
claudinei@3421 | 33 } |
claudinei@3421 | 34 |