wok-next view wxWidgets/receipt @ rev 13467
wpa_supplicant: libnl3 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 08 12:08:20 2012 +0200 (2012-10-08) |
parents | 41b267435764 |
children | 6b09507225ec |
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-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 }