wok-4.x annotate wxWidgets/receipt @ rev 1390

Up: htpop 0.8
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Sep 17 23:51:27 2008 +0200 (2008-09-17)
parents ccf126429a43
children 52dc4b48ed81
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"
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@1117 17 ./configure \
pankso@1117 18 --prefix=/usr \
pankso@68 19 --enable-shared \
pankso@68 20 --enable-unicode \
pankso@68 21 --infodir=/usr/share/info \
pankso@68 22 --mandir=/usr/share/man \
pankso@68 23 $CONFIGURE_ARGS
pankso@68 24 make
pankso@68 25 make DESTDIR=$src/_pkg install
pankso@68 26 cd $src/contrib
pankso@68 27 make
pankso@68 28 make DESTDIR=$src/contrib/_pkg install
pankso@68 29 }
pankso@68 30
pankso@68 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 32 genpkg_rules()
pankso@68 33 {
pankso@68 34 mkdir -p $fs/usr
pankso@68 35 # Copy libs and contrib libs.
pankso@68 36 cp -a $_pkg/usr/lib/ $fs/usr/
pankso@68 37 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
pankso@1117 38 # Remove devel files.
pankso@68 39 rm -rf $fs/usr/lib/wx/include
pankso@68 40 }