wok-current view wxWidgets/receipt @ rev 15300
gnustep-base: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 10:52:06 2013 +0000 (2013-09-27) |
parents | 8c33edd9232d |
children | 23c3aed67cd9 |
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 SOURCE="wxPython"
9 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
10 WEB_SITE="http://www.wxwidgets.org/"
11 WGET_URL="$SF_MIRROR/wxpython/$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="pkg-config gtk+ 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 cd $src
26 sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
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 make &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 # Copy libs and contrib libs.
50 cp -a $install/usr/lib/ $fs/usr/
51 # Remove devel files.
52 rm -rf $fs/usr/lib/wx/include
53 }