wok view wxpython/receipt @ rev 9821

ruby: when a space can change a build...
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 15 02:34:55 2011 +0200 (2011-05-15)
parents a09f59c16260
children 1a6375a82057
line source
1 # SliTaz package receipt.
3 PACKAGE="wxpython"
4 VERSION="2.8.11.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GUI toolkit for the Python programming language."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="python gtk+"
9 BUILD_DEPENDS="python-dev gtk+-dev"
10 SOURCE="wxPython-src"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.wxpython.org/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/wxPython/$VERSION/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --without-sdl \
23 $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }