wok-next view wxWidgets28/receipt @ rev 20044

gdb: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 21:25:10 2017 +0200 (2017-10-22)
parents 30522fa01aed
children bce36a298f1e
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets28"
4 VERSION="2.8.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library (oldstable version)"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 TARBALL="wxPython-src-$VERSION.tar.bz2"
10 WEB_SITE="http://www.wxwidgets.org/"
11 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
13 DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \
14 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \
15 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
16 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
17 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
18 BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \
19 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
20 jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
26 export CXXFLAGS="-Wno-narrowing"
27 ./configure \
28 --enable-shared \
29 --enable-unicode \
30 --with-opengl \
31 --with-libpng=sys \
32 --with-libxpm=sys \
33 --with-libjpeg=sys \
34 --with-libtiff=sys \
35 --enable-graphics_ctx \
36 --enable-unicode \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install &&
40 cd $src/contrib &&
41 {
42 make &&
43 make DESTDIR=$DESTDIR install
44 } 2>&1 | sed 's/h: No such/h: no such/'
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr
51 # Copy libs and contrib libs.
52 cp -a $install/usr/lib/ $fs/usr/
53 # Remove devel files.
54 rm -rf $fs/usr/lib/wx/include
55 }