wok-current view wxpython/receipt @ rev 20415

*l2tp*: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 02 13:34:15 2018 +0200 (2018-08-02)
parents 7390f8de9846
children 0c04fc34847a
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 wxWidgets28"
15 BUILD_DEPENDS="python-dev wxWidgets28-dev mesa-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }