wok-6.x view wxWidgets/receipt @ rev 1467
linux-source: build kernel in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 11:49:56 2008 +0000 (2008-10-04) |
parents | ccf126429a43 |
children | 52dc4b48ed81 |
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 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 \
18 --prefix=/usr \
19 --enable-shared \
20 --enable-unicode \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$src/_pkg install
26 cd $src/contrib
27 make
28 make DESTDIR=$src/contrib/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 # Copy libs and contrib libs.
36 cp -a $_pkg/usr/lib/ $fs/usr/
37 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
38 # Remove devel files.
39 rm -rf $fs/usr/lib/wx/include
40 }