wok-current view wxpython/receipt @ rev 13810

mesa-demos: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 06 10:16:32 2013 +0100 (2013-01-06)
parents 22fba642bdad
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="wxpython"
4 VERSION="2.8.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="GUI toolkit for the Python programming language."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="wxPython"
9 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
10 WEB_SITE="http://www.wxpython.org/"
11 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
13 DEPENDS="python wxWidgets"
14 BUILD_DEPENDS="python-dev wxWidgets-dev mesa-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
21 ./configure \
22 --with-gtk=2 \
23 --with-opengl \
24 --enable-unicode \
25 --with-regex=sys \
26 --with-libpng=sys \
27 --with-libxpm=sys \
28 --with-libjpeg=sys \
29 --with-libtiff=sys \
30 --disable-precomp-headers \
31 --without-sdl \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS
34 cd $src/wxPython
35 patch -Np2 -i $stuff/wxpython-cairo.patch
36 python setup.py WXPORT=gtk2 UNICODE=1 build
37 python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/python* $fs/usr/lib
46 }