wok annotate wxpython/receipt @ rev 14940

Up: embryo-dev (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:45 2013 +0200 (2013-08-08)
parents 22fba642bdad
children 23c3aed67cd9
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@11139 8 SOURCE="wxPython"
slaxemulator@11139 9 TARBALL="$SOURCE-src-$VERSION.tar.bz2"
pankso@5672 10 WEB_SITE="http://www.wxpython.org/"
slaxemulator@11139 11 WGET_URL="$SF_MIRROR/wxpython/$TARBALL"
pankso@5672 12
pascal@13796 13 DEPENDS="python wxWidgets"
pascal@13796 14 BUILD_DEPENDS="python-dev wxWidgets-dev mesa-dev"
pascal@13796 15
pankso@5672 16 # Rules to configure and make the package.
pankso@5672 17 compile_rules()
pankso@5672 18 {
pankso@5672 19 cd $src
slaxemulator@12327 20 mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra
pankso@5672 21 ./configure \
slaxemulator@12327 22 --with-gtk=2 \
slaxemulator@12327 23 --with-opengl \
slaxemulator@12327 24 --enable-unicode \
slaxemulator@12327 25 --with-regex=sys \
slaxemulator@12327 26 --with-libpng=sys \
slaxemulator@12327 27 --with-libxpm=sys \
slaxemulator@12327 28 --with-libjpeg=sys \
slaxemulator@12327 29 --with-libtiff=sys \
slaxemulator@12327 30 --disable-precomp-headers \
slaxemulator@9545 31 --without-sdl \
slaxemulator@9545 32 $CONFIGURE_ARGS &&
slaxemulator@12327 33 make $MAKEFLAGS
slaxemulator@12327 34 cd $src/wxPython
pascal@13000 35 patch -Np2 -i $stuff/wxpython-cairo.patch
slaxemulator@12327 36 python setup.py WXPORT=gtk2 UNICODE=1 build
slaxemulator@12327 37 python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR
pankso@5672 38 }
pankso@5672 39
pankso@5672 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5672 41 genpkg_rules()
pankso@5672 42 {
slaxemulator@12327 43 mkdir -p $fs/usr/lib
pascal@13796 44 cp -a $install/usr/bin $fs/usr
pascal@13796 45 cp -a $install/usr/lib/python* $fs/usr/lib
pankso@5672 46 }