wok-current annotate wxpython/receipt @ rev 9544
tiff: Patched overflows that could lead to aribitrary code execution when parsing a malformed image file. Thanks slackware for having this.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Apr 09 07:21:58 2011 +0000 (2011-04-09) |
parents | 49e501a55595 |
children | d36e3f34f5c0 |
rev | line source |
---|---|
pankso@5672 | 1 # SliTaz package receipt. |
pankso@5672 | 2 |
pankso@5672 | 3 PACKAGE="wxpython" |
pankso@5672 | 4 VERSION="2.8.11.0" |
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@9544 | 8 DEPENDS="python wxWidgets" |
slaxemulator@9544 | 9 BUILD_DEPENDS="python-dev wxWidgets-dev" |
pankso@5672 | 10 SOURCE="wxPython-src" |
pankso@5672 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@5672 | 12 WEB_SITE="http://www.wxpython.org/" |
pankso@5672 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/wxPython/$VERSION/$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 |
pankso@5672 | 19 ./configure \ |
slaxemulator@9544 | 20 --with-gtk=2 \ |
slaxemulator@9544 | 21 --with-libpng=sys \ |
slaxemulator@9544 | 22 --with-libjpeg=sys \ |
slaxemulator@9544 | 23 --with-libtiff=sys && |
slaxemulator@9544 | 24 cd wxPython && |
slaxemulator@9544 | 25 python setup.py WXPORT=gtk2 UNICODE=1 build && |
slaxemulator@9544 | 26 python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR |
slaxemulator@9544 | 27 |
pankso@5672 | 28 } |
pankso@5672 | 29 |
pankso@5672 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5672 | 31 genpkg_rules() |
pankso@5672 | 32 { |
pankso@5672 | 33 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@5672 | 34 cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin |
pankso@5672 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@5672 | 36 } |