wok-6.x view wxWidgets/receipt @ rev 15601

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:23:08 2013 +0000 (2013-12-05)
parents f816b742df3d
children b77265b15fb6
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/wxpython/$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 make &&
43 make DESTDIR=$DESTDIR install
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 }