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

Up: pango (2.24.2), pixman (0.15.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 13 22:44:02 2009 +0200 (2009-05-13)
parents d0b4a9f7bd04
children f26732c0cdb2
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
pankso@1117 4 VERSION="2.8.8"
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 \
pascal@2527 9 libiconv xorg-libXdamage"
pascal@1514 10 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-dev"
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 }