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

Up: ffmpeg-dev (0.10.3)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:00:38 2012 +0200 (2012-05-23)
parents 41b267435764
children 6b09507225ec
rev   line source
pankso@68 1 # SliTaz package receipt.
pankso@68 2
pankso@68 3 PACKAGE="wxWidgets"
pascal@12399 4 VERSION="2.8.12.1"
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@12481 9 gtk+ cairo fontconfig freetype jpeg libpng tiff pango pixman util-linux-uuid \
rcx@3289 10 xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \
slaxemulator@12324 11 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \
slaxemulator@12324 12 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa"
rcx@3289 13 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev expat-dev zlib-dev \
slaxemulator@12324 14 xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng-dev tiff-dev \
slaxemulator@12324 15 jpeg-dev xorg-libXpm-dev patch"
slaxemulator@11140 16 SOURCE="wxPython"
slaxemulator@11140 17 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
pankso@68 18 WEB_SITE="http://www.wxwidgets.org/"
slaxemulator@11140 19 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
pankso@68 20
pankso@68 21 # Rules to configure and make the package.
pankso@68 22 compile_rules()
pankso@68 23 {
pankso@68 24 cd $src
slaxemulator@8744 25 ./configure \
pankso@68 26 --enable-shared \
slaxemulator@10063 27 --enable-unicode \
slaxemulator@12324 28 --with-opengl \
slaxemulator@12324 29 --with-libpng=sys \
slaxemulator@12324 30 --with-libxpm=sys \
slaxemulator@12324 31 --with-libjpeg=sys \
slaxemulator@12324 32 --with-libtiff=sys \
slaxemulator@10063 33 $CONFIGURE_ARGS &&
slaxemulator@8539 34 make &&
slaxemulator@8744 35 make DESTDIR=$DESTDIR install &&
slaxemulator@8744 36 cd $src/contrib &&
slaxemulator@8744 37 make &&
slaxemulator@8744 38 make DESTDIR=$DESTDIR install
pankso@68 39 }
pankso@68 40
pankso@68 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@68 42 genpkg_rules()
pankso@68 43 {
pankso@68 44 mkdir -p $fs/usr
pankso@68 45 # Copy libs and contrib libs.
pankso@68 46 cp -a $_pkg/usr/lib/ $fs/usr/
pankso@1117 47 # Remove devel files.
pankso@68 48 rm -rf $fs/usr/lib/wx/include
pankso@68 49 }