wok-current annotate wxWidgets/receipt @ rev 507

ADD: lshw, tcl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Apr 01 00:01:11 2008 +0200 (2008-04-01)
parents d3c251aa853d
children e165da1af814
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
pankso@68 4 VERSION="2.8.6"
pankso@209 5 CATEGORY="x-window"
pankso@68 6 SHORT_DESC="Cross-platform GUI Library"
pankso@68 7 MAINTAINER="pankso@slitaz.org"
pankso@68 8 DEPENDS="pkg-config gtk+ xorg-libXinerama xorg-libSM xorg-libICE"
pankso@68 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@68 10 WEB_SITE="http://www.wxwidgets.org/"
pankso@68 11 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
pankso@68 12
pankso@68 13 # Rules to configure and make the package.
pankso@68 14 compile_rules()
pankso@68 15 {
pankso@68 16 cd $src
pankso@68 17 ./configure --prefix=/usr \
pankso@68 18 --enable-shared \
pankso@68 19 --enable-unicode \
pankso@68 20 --infodir=/usr/share/info \
pankso@68 21 --mandir=/usr/share/man \
pankso@68 22 $CONFIGURE_ARGS
pankso@68 23 make
pankso@68 24 make DESTDIR=$src/_pkg install
pankso@68 25 cd $src/contrib
pankso@68 26 make
pankso@68 27 make DESTDIR=$src/contrib/_pkg install
pankso@68 28 }
pankso@68 29
pankso@68 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 31 genpkg_rules()
pankso@68 32 {
pankso@68 33 mkdir -p $fs/usr
pankso@68 34 # Copy libs and contrib libs.
pankso@68 35 cp -a $_pkg/usr/lib/ $fs/usr/
pankso@68 36 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
pankso@68 37 # Strip symbols and remove devel files.
pankso@68 38 strip --strip-unneed $fs/usr/lib/*.so*
pankso@68 39 rm -rf $fs/usr/lib/wx/include
pankso@68 40 }