wok view wxWidgets/receipt @ rev 2694

Fix: gst-plugins-base BUILD_DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Wed Apr 22 11:11:27 2009 +0000 (2009-04-22)
parents d0b4a9f7bd04
children f26732c0cdb2
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 tiff \
9 libiconv xorg-libXdamage"
10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-dev"
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 }