wok-next annotate wxpython/receipt @ rev 11376
openbox: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 09 12:30:24 2011 +0100 (2011-12-09) |
parents | 1a6375a82057 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
pankso@5672 | 1 # SliTaz package receipt. |
pankso@5672 | 2 |
pankso@5672 | 3 PACKAGE="wxpython" |
slaxemulator@11139 | 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@9545 | 8 DEPENDS="python gtk+" |
slaxemulator@9545 | 9 BUILD_DEPENDS="python-dev gtk+-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 |
pankso@5672 | 19 ./configure \ |
slaxemulator@9545 | 20 --without-sdl \ |
slaxemulator@9545 | 21 $CONFIGURE_ARGS && |
slaxemulator@9545 | 22 make -j 4 && |
slaxemulator@10064 | 23 make DESTDIR=$DESTDIR install |
pankso@5672 | 24 } |
pankso@5672 | 25 |
pankso@5672 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5672 | 27 genpkg_rules() |
pankso@5672 | 28 { |
pankso@5672 | 29 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@5672 | 30 cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin |
pankso@5672 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@5672 | 32 } |