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

Add libsdl-pango. Needed for frozen-bubble.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 27 19:11:15 2010 +0000 (2010-11-27)
parents 666fd56c3a0e
children f6d0e56bc02c
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
slaxemulator@6478 4 VERSION="2.8.11"
pankso@209 5 CATEGORY="x-window"
pankso@68 6 SHORT_DESC="Cross-platform GUI Library"
pankso@68 7 MAINTAINER="pankso@slitaz.org"
rcx@3289 8 DEPENDS="glib glibc-base gcc-lib-base libgio pkg-config expat zlib atk \
pankso@4052 9 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-ng-uuid \
rcx@3289 10 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
rcx@3289 11 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
pascal@5007 12 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm"
rcx@3289 13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
pankso@4090 14 xorg-dev xorg-xineramaproto patch"
pankso@68 15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@68 16 WEB_SITE="http://www.wxwidgets.org/"
pankso@68 17 WGET_URL="$SF_MIRROR/wxwindows/$TARBALL"
pankso@68 18
pankso@68 19 # Rules to configure and make the package.
pankso@68 20 compile_rules()
pankso@68 21 {
pankso@68 22 cd $src
pankso@1117 23 ./configure \
pankso@1117 24 --prefix=/usr \
pankso@68 25 --enable-shared \
pankso@68 26 --enable-unicode \
pankso@68 27 --infodir=/usr/share/info \
pankso@68 28 --mandir=/usr/share/man \
pascal@1514 29 $CONFIGURE_ARGS &&
pascal@5777 30 make -j 4 &&
pascal@1514 31 make DESTDIR=$src/_pkg install &&
pascal@1514 32 cd $src/contrib &&
pascal@5777 33 make -j 4 &&
pankso@68 34 make DESTDIR=$src/contrib/_pkg install
pankso@68 35 }
pankso@68 36
pankso@68 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 38 genpkg_rules()
pankso@68 39 {
pankso@68 40 mkdir -p $fs/usr
pankso@68 41 # Copy libs and contrib libs.
pankso@68 42 cp -a $_pkg/usr/lib/ $fs/usr/
pankso@68 43 cp -a $src/contrib/_pkg/usr/lib/ $fs/usr/
pankso@1117 44 # Remove devel files.
pankso@68 45 rm -rf $fs/usr/lib/wx/include
pankso@68 46 }