wok-stable view wxWidgets/receipt @ rev 344

Add xorg-xbitmaps (build dep or xsetroot
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 05 20:40:52 2008 +0100 (2008-03-05)
parents d3c251aa853d
children e165da1af814
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.wxwidgets.org/"
11 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr \
18 --enable-shared \
19 --enable-unicode \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$src/_pkg install
25 cd $src/contrib
26 make
27 make DESTDIR=$src/contrib/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 # Copy libs and contrib libs.
35 cp -a $_pkg/usr/lib/ $fs/usr/
36 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
37 # Strip symbols and remove devel files.
38 strip --strip-unneed $fs/usr/lib/*.so*
39 rm -rf $fs/usr/lib/wx/include
40 }