wok view wxWidgets/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 25a18b94dcb7
children 21b04fb54b67
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="3.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.wxwidgets.org/"
11 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$TARBALL"
13 DEPENDS="glib glibc-base gcc-lib-base libgio 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"
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 ./configure \
27 --enable-shared \
28 --enable-unicode \
29 --with-opengl \
30 --with-libpng=sys \
31 --with-libxpm=sys \
32 --with-libjpeg=sys \
33 --with-libtiff=sys \
34 --enable-graphics_ctx \
35 --enable-unicode \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 # cd $src/contrib &&
40 # {
41 # make &&
42 # make DESTDIR=$DESTDIR install
43 # } 2>&1 | sed 's/h: No such/h: no such/'
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 # Copy libs and contrib libs.
51 cp -a $install/usr/lib/ $fs/usr/
52 # Remove devel files.
53 rm -rf $fs/usr/lib/wx/include
54 }