wok-6.x annotate wxWidgets/receipt @ rev 3185

Up: gcc (4.4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 26 17:19:42 2009 +0200 (2009-05-26)
parents f26732c0cdb2
children 4e2c860ebeee
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
claudinei@3151 4 VERSION="2.8.10"
pankso@209 5 CATEGORY="x-window"
pankso@68 6 SHORT_DESC="Cross-platform GUI Library"
pankso@68 7 MAINTAINER="pankso@slitaz.org"
pascal@2527 8 DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE tiff \
pankso@3161 9 xorg-libXdamage"
claudinei@3151 10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-dev xorg-xineramaproto"
pankso@68 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@68 12 WEB_SITE="http://www.wxwidgets.org/"
pankso@68 13 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
pankso@68 14
pankso@68 15 # Rules to configure and make the package.
pankso@68 16 compile_rules()
pankso@68 17 {
pankso@68 18 cd $src
pankso@1117 19 ./configure \
pankso@1117 20 --prefix=/usr \
pankso@68 21 --enable-shared \
pankso@68 22 --enable-unicode \
pankso@68 23 --infodir=/usr/share/info \
pankso@68 24 --mandir=/usr/share/man \
pascal@1514 25 $CONFIGURE_ARGS &&
pascal@1514 26 make &&
pascal@1514 27 make DESTDIR=$src/_pkg install &&
pascal@1514 28 cd $src/contrib &&
pascal@1514 29 make &&
pankso@68 30 make DESTDIR=$src/contrib/_pkg install
pankso@68 31 }
pankso@68 32
pankso@68 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 34 genpkg_rules()
pankso@68 35 {
pankso@68 36 mkdir -p $fs/usr
pankso@68 37 # Copy libs and contrib libs.
pankso@68 38 cp -a $_pkg/usr/lib/ $fs/usr/
pankso@68 39 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
pankso@1117 40 # Remove devel files.
pankso@68 41 rm -rf $fs/usr/lib/wx/include
pankso@68 42 }