wok view wxWidgets/receipt @ rev 4934

add/improve TAGS d* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 13:17:20 2010 +0000 (2010-02-16)
parents 0588160a6878
children 4897058add72
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.10"
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"
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 patch -p 0 < ../stuff/gsockgtk.patch || exit 1
24 ./configure \
25 --prefix=/usr \
26 --enable-shared \
27 --enable-unicode \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$src/_pkg install &&
33 cd $src/contrib &&
34 make &&
35 make DESTDIR=$src/contrib/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 # Copy libs and contrib libs.
43 cp -a $_pkg/usr/lib/ $fs/usr/
44 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
45 # Remove devel files.
46 rm -rf $fs/usr/lib/wx/include
47 }