wok annotate wxpython/receipt @ rev 13000

wxpython: typo (thanks pipein)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 06 14:55:24 2012 +0200 (2012-06-06)
parents 41b267435764
children 6b09507225ec
rev   line source
pankso@5672 1 # SliTaz package receipt.
pankso@5672 2
pankso@5672 3 PACKAGE="wxpython"
pascal@12399 4 VERSION="2.8.12.1"
pankso@5672 5 CATEGORY="x-window"
pankso@5672 6 SHORT_DESC="GUI toolkit for the Python programming language."
pankso@5672 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@12327 8 DEPENDS="python wxWidgets"
slaxemulator@12327 9 BUILD_DEPENDS="python-dev wxWidgets-dev mesa-dev"
slaxemulator@11139 10 SOURCE="wxPython"
slaxemulator@11139 11 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
pankso@5672 12 WEB_SITE="http://www.wxpython.org/"
slaxemulator@11139 13 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
pankso@5672 14
pankso@5672 15 # Rules to configure and make the package.
pankso@5672 16 compile_rules()
pankso@5672 17 {
pankso@5672 18 cd $src
slaxemulator@12327 19 mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
pankso@5672 20 ./configure \
slaxemulator@12327 21 --with-gtk=2 \
slaxemulator@12327 22 --with-opengl \
slaxemulator@12327 23 --enable-unicode \
slaxemulator@12327 24 --with-regex=sys \
slaxemulator@12327 25 --with-libpng=sys \
slaxemulator@12327 26 --with-libxpm=sys \
slaxemulator@12327 27 --with-libjpeg=sys \
slaxemulator@12327 28 --with-libtiff=sys \
slaxemulator@12327 29 --disable-precomp-headers \
slaxemulator@9545 30 --without-sdl \
slaxemulator@9545 31 $CONFIGURE_ARGS &&
slaxemulator@12327 32 make $MAKEFLAGS
slaxemulator@12327 33 cd $src/wxPython
pascal@13000 34 patch -Np2 -i $stuff/wxpython-cairo.patch
slaxemulator@12327 35 python setup.py WXPORT=gtk2 UNICODE=1 build
slaxemulator@12327 36 python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR
pankso@5672 37 }
pankso@5672 38
pankso@5672 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5672 40 genpkg_rules()
pankso@5672 41 {
slaxemulator@12327 42 mkdir -p $fs/usr/lib
slaxemulator@12327 43 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@12327 44 cp -a $_pkg/usr/lib/python* $fs/usr/lib
pankso@5672 45 }