wok view wxWidgets/receipt @ rev 17212

cyrus-imapd: enable murder
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 10 15:22:16 2014 +0200 (2014-10-10)
parents b77265b15fb6
children a7d92d7d3d4f
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.12.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 SOURCE="wxPython"
10 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
11 WEB_SITE="http://www.wxwidgets.org/"
12 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
14 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
15 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \
16 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
17 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
18 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
19 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
20 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
21 jpeg-dev xorg-libXpm-dev patch"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 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
52 # Copy libs and contrib libs.
53 cp -a $install/usr/lib/ $fs/usr/
54 # Remove devel files.
55 rm -rf $fs/usr/lib/wx/include
56 }