wok-stable annotate wxpython/receipt @ rev 9960

fbida: fix receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 18 15:36:13 2011 +0200 (2011-05-18)
parents a09f59c16260
children 1a6375a82057
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@9545 8 DEPENDS="python gtk+"
slaxemulator@9545 9 BUILD_DEPENDS="python-dev gtk+-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@9545 20 --prefix=/usr \
slaxemulator@9545 21 --mandir=/usr/share/man \
slaxemulator@9545 22 --without-sdl \
slaxemulator@9545 23 $CONFIGURE_ARGS &&
slaxemulator@9545 24 make -j 4 &&
slaxemulator@9545 25 make DESTDIR=$PWD/_pkg install
pankso@5672 26 }
pankso@5672 27
pankso@5672 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5672 29 genpkg_rules()
pankso@5672 30 {
pankso@5672 31 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@5672 32 cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin
pankso@5672 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@5672 34 }