wok view wxWidgets/receipt @ rev 3161

wxWidgets: Remove dep on libiconv (build without)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 23:25:20 2009 +0200 (2009-05-24)
parents f26732c0cdb2
children 4e2c860ebeee
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="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE tiff \
9 xorg-libXdamage"
10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-dev xorg-xineramaproto"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.wxwidgets.org/"
13 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --enable-shared \
22 --enable-unicode \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$src/_pkg install &&
28 cd $src/contrib &&
29 make &&
30 make DESTDIR=$src/contrib/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 # Copy libs and contrib libs.
38 cp -a $_pkg/usr/lib/ $fs/usr/
39 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
40 # Remove devel files.
41 rm -rf $fs/usr/lib/wx/include
42 }