wok view wxpython/receipt @ rev 17423
linux-uml: hardlink on fifos, sockets, char & block devices and symlinks in initramfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 04 16:09:50 2014 +0100 (2014-12-04) |
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 }