wok-6.x view wxWidgets/receipt @ rev 1759

Up: alsa-* (1.0.18)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Nov 24 22:18:52 2008 +0100 (2008-11-24)
parents e165da1af814
children d0b4a9f7bd04
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="2.8.8"
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 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.wxwidgets.org/"
12 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --enable-shared \
21 --enable-unicode \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$src/_pkg install &&
27 cd $src/contrib &&
28 make &&
29 make DESTDIR=$src/contrib/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 # Copy libs and contrib libs.
37 cp -a $_pkg/usr/lib/ $fs/usr/
38 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
39 # Remove devel files.
40 rm -rf $fs/usr/lib/wx/include
41 }