wok-next view wxpython/receipt @ rev 20523

libnsgif: add missing stuff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 15:16:45 2018 +0200 (2018-03-23)
parents 4396aed7eb01
children d6378d455338
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="pankso@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="http://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="wxpython-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 patch -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 genpkg_rules() {
40 case $PACKAGE in
41 wxpython)
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/python* $fs/usr/lib
45 DEPENDS="python wxWidgets28"
46 ;;
47 *-dev)
48 mkdir -p $fs/usr
49 cp -a $install/usr/include $fs/usr
50 ;;
51 esac
52 }