wok-6.x view wxpython/receipt @ rev 5672

Add wxpython (GUI toolkit for Python)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 30 19:11:23 2010 +0200 (2010-05-30)
parents
children 49e501a55595
line source
1 # SliTaz package receipt.
3 PACKAGE="wxpython"
4 VERSION="2.8.11.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GUI toolkit for the Python programming language."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python gtk+"
9 BUILD_DEPENDS="python-dev gtk+-dev"
10 SOURCE="wxPython-src"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.wxpython.org/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/wxPython/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --without-sdl \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }