wok-6.x view wxWidgets/receipt @ rev 23738

updated wxWidgets and wxWidgets-dev (3.0.4 -> 3.1.3)
author Hans-G?nter Theisgen
date Fri May 01 10:38:25 2020 +0100 (2020-05-01)
parents c72a5be583f4
children a0280eae1832
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="3.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://www.wxwidgets.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="atk cairo expat fontconfig freetype gcc-lib-base glib glibc-base
15 gtk+ jpeg libgio libglu-mesa libpng mesa pango pixman pkg-config
16 tiff util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
17 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
18 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender
19 xorg-libXxf86vm zlib"
20 BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev
21 tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
28 ./configure \
29 --enable-shared \
30 --enable-unicode \
31 --with-opengl \
32 --with-libpng=sys \
33 --with-libxpm=sys \
34 --with-libjpeg=sys \
35 --with-libtiff=sys \
36 --enable-graphics_ctx \
37 --enable-unicode \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 # cd $src/contrib &&
42 # {
43 # make &&
44 # make DESTDIR=$DESTDIR install
45 # } 2>&1 | sed 's/h: No such/h: no such/'
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr
53 # Copy libraries and contrib libraries.
54 cp -a $install/usr/lib $fs/usr
56 # Remove development files.
57 rm -rf $fs/usr/lib/wx/include
58 }