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