wok-stable view wxWidgets/receipt @ rev 6748

Up: slitaz-doc (4.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Oct 17 22:01:10 2010 +0200 (2010-10-17)
parents 666fd56c3a0e
children f6d0e56bc02c
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.11"
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 --prefix=/usr \
25 --enable-shared \
26 --enable-unicode \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make -j 4 &&
31 make DESTDIR=$src/_pkg install &&
32 cd $src/contrib &&
33 make -j 4 &&
34 make DESTDIR=$src/contrib/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 # Copy libs and contrib libs.
42 cp -a $_pkg/usr/lib/ $fs/usr/
43 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
44 # Remove devel files.
45 rm -rf $fs/usr/lib/wx/include
46 }