wok-next view wxWidgets/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 30522fa01aed |
children | bce36a298f1e |
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="3.0.2"
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="$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/.*<string>/#include <cmath>\n&/;s/(abs(/(std::abs(/' \
26 src/stc/scintilla/src/Editor.cxx
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 }