wok-next view wxpython/receipt @ rev 21196
updated scrollz again (2.2.3 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 16:09:40 2019 +0100 (2019-10-03) |
parents | d6378d455338 |
children |
line source
1 # SliTaz package receipt v2.
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="devel@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://www.wxpython.org/"
11 TARBALL="wxPython-src-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
14 BUILD_DEPENDS="python-dev wxWidgets28-dev mesa-dev glu-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 export CXXFLAGS="-Wno-narrowing"
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 -B setup.py WXPORT=gtk2 UNICODE=1 build &&
35 python -B setup.py WXPORT=gtk2 UNICODE=1 install --root=$install
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 wxpython)
41 copy @std
42 DEPENDS="python wxWidgets28"
43 ;;
44 *-dev)
45 copy @dev
46 ;;
47 esac
48 }