wok-next view python-wxpython3/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-wxpython3"
4 VERSION="3.0.2.0"
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 wxWidgets-dev mesa-dev glu-dev libjpeg-turbo-dev \
15 tiff-dev"
16 SPLIT="$PACKAGE-dev"
18 DEPENDS_std="python wxWidgets" # false positive: perl
20 compile_rules() {
21 export CXXFLAGS="-Wno-narrowing"
22 mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
24 ./configure \
25 --with-gtk=2 \
26 --with-opengl \
27 --enable-unicode \
28 --with-regex=sys \
29 --with-libpng=sys \
30 --with-libxpm=sys \
31 --with-libjpeg=sys \
32 --with-libtiff=sys \
33 --disable-precomp-headers \
34 --without-sdl \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS || return 1
38 cd $src/wxPython
39 python -B setup.py WXPORT=gtk2 UNICODE=1 build &&
40 python -B setup.py WXPORT=gtk2 UNICODE=1 install --root=$install
42 find $install -type f -exec chmod g-w '{}' \; # 664->644, 775->755
43 }