wok-current view wxWidgets/receipt @ rev 24915

updated monitorix (3.12.0 -> 3.14.0)
author Hans-G?nter Theisgen
date Sat Apr 09 16:53:38 2022 +0100 (2022-04-09)
parents a0280eae1832
children 6f116ab3c078
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 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 current_version()
24 {
25 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 # sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
34 ./configure \
35 --enable-shared \
36 --enable-unicode \
37 --with-opengl \
38 --with-libpng=sys \
39 --with-libxpm=sys \
40 --with-libjpeg=sys \
41 --with-libtiff=sys \
42 --enable-graphics_ctx \
43 --enable-unicode \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$DESTDIR install
47 # cd $src/contrib &&
48 # {
49 # make &&
50 # make DESTDIR=$DESTDIR install
51 # } 2>&1 | sed 's/h: No such/h: no such/'
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr
59 # Copy libraries and contrib libraries.
60 cp -a $install/usr/lib $fs/usr
62 # Remove development files.
63 rm -rf $fs/usr/lib/wx/include
64 }