wok view wxWidgets/receipt @ rev 10063

Up: wxWidgets to 2.8.12. Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 05:03:32 2011 +0000 (2011-05-20)
parents 6b78f781fc73
children 6ad0290ef344
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.12"
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 \
12 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm"
13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
14 xorg-dev xorg-xineramaproto patch"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://www.wxwidgets.org/"
17 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --enable-shared \
25 --enable-unicode \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install &&
29 cd $src/contrib &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 # Copy libs and contrib libs.
39 cp -a $_pkg/usr/lib/ $fs/usr/
40 # Remove devel files.
41 rm -rf $fs/usr/lib/wx/include
42 }