wok-4.x view python-bpython/receipt @ rev 3712
Up: libwebkit (1.1.11)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Jul 21 17:45:25 2009 +0200 (2009-07-21) |
parents | |
children | 83e2c1cabb15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-bpython"
4 SOURCE="bpython"
5 VERSION="0.9.3"
6 CATEGORY="development"
7 SHORT_DESC="A fancy interface to the Python interpreter."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.bpython-interpreter.org"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
12 DEPENDS="python python-pygments setuptools"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 rm -rf $_pkg/usr/share/applications
26 mkdir -p $fs/usr $fs/usr/share/applications
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 cp -a $WOK/$PACKAGE/stuff/* $fs/usr/share/applications
30 }