wok view wxWidgets/receipt @ rev 12330
sane-backends: Clean up. Add support for libv4l 0.8.3+.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 19 08:51:41 2012 +0000 (2012-04-19) |
parents | 6ad0290ef344 |
children | 26a3881f0035 |
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 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
9 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-ng-uuid \
10 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
11 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
12 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
14 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
15 jpeg-dev xorg-libXpm-dev patch"
16 SOURCE="wxPython"
17 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
18 WEB_SITE="http://www.wxwidgets.org/"
19 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --enable-shared \
27 --enable-unicode \
28 --with-opengl \
29 --with-libpng=sys \
30 --with-libxpm=sys \
31 --with-libjpeg=sys \
32 --with-libtiff=sys \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install &&
36 cd $src/contrib &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr
45 # Copy libs and contrib libs.
46 cp -a $_pkg/usr/lib/ $fs/usr/
47 # Remove devel files.
48 rm -rf $fs/usr/lib/wx/include
49 }