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

Up: fuse to 2.9.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 27 04:24:04 2014 +0000 (2014-01-27)
parents 6b09507225ec
children 7390f8de9846
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 LICENSE="LGPL"
9 SOURCE="wxPython"
10 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
11 WEB_SITE="http://www.wxpython.org/"
12 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
14 DEPENDS="python wxWidgets"
15 BUILD_DEPENDS="python-dev wxWidgets-dev mesa-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
22 ./configure \
23 --with-gtk=2 \
24 --with-opengl \
25 --enable-unicode \
26 --with-regex=sys \
27 --with-libpng=sys \
28 --with-libxpm=sys \
29 --with-libjpeg=sys \
30 --with-libtiff=sys \
31 --disable-precomp-headers \
32 --without-sdl \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS
35 cd $src/wxPython
36 patch -Np2 -i $stuff/wxpython-cairo.patch
37 python setup.py WXPORT=gtk2 UNICODE=1 build
38 python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/python* $fs/usr/lib
47 }