wok view wxpython/receipt @ rev 9359

devilspie: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 14:58:16 2011 +0100 (2011-03-20)
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 }