wok-next view wxpython/receipt @ rev 9177
Up: spidermonkey (0.1.8-rc1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Mar 09 00:02:19 2011 +0000 (2011-03-09) |
parents | 91348dd08be2 |
children | a09f59c16260 |
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 }