wok view wxpython/receipt @ rev 12841

linux-api-headers: provides linux-headers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 23 08:47:30 2012 +0200 (2012-05-23)
parents 26a3881f0035
children 22fba642bdad
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 DEPENDS="python wxWidgets"
9 BUILD_DEPENDS="python-dev wxWidgets-dev mesa-dev"
10 SOURCE="wxPython"
11 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
12 WEB_SITE="http://www.wxpython.org/"
13 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
20 ./configure \
21 --with-gtk=2 \
22 --with-opengl \
23 --enable-unicode \
24 --with-regex=sys \
25 --with-libpng=sys \
26 --with-libxpm=sys \
27 --with-libjpeg=sys \
28 --with-libtiff=sys \
29 --disable-precomp-headers \
30 --without-sdl \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS
33 cd $src/wxPython
34 python -Np2 -i $stuff/wxpython-cairo.patch
35 python setup.py WXPORT=gtk2 UNICODE=1 build
36 python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/lib/python* $fs/usr/lib
45 }