wok-current view wxWidgets/receipt @ rev 13925
cssed: fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 26 03:04:33 2013 +0000 (2013-01-26) |
parents | 73641efed1cc |
children | 8c33edd9232d |
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 ./configure \
27 --enable-shared \
28 --enable-unicode \
29 --with-opengl \
30 --with-libpng=sys \
31 --with-libxpm=sys \
32 --with-libjpeg=sys \
33 --with-libtiff=sys \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install &&
37 cd $src/contrib &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 # Copy libs and contrib libs.
47 cp -a $install/usr/lib/ $fs/usr/
48 # Remove devel files.
49 rm -rf $fs/usr/lib/wx/include
50 }