wok-stable view wxWidgets/receipt @ rev 1865
neon: add ssl support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 16 09:09:36 2008 +0000 (2008-12-16) |
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 }