wok-4.x annotate wxpython/receipt @ rev 7330
Up: xsane to 0.998.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 19 16:29:39 2010 +0000 (2010-11-19) |
parents | 91348dd08be2 |
children | a09f59c16260 |
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" |
pankso@5672 | 8 DEPENDS="python gtk+" |
pankso@5672 | 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 \ |
pankso@5672 | 20 --prefix=/usr \ |
pankso@5672 | 21 --mandir=/usr/share/man \ |
pankso@5672 | 22 --without-sdl \ |
pankso@5672 | 23 $CONFIGURE_ARGS && |
pascal@5781 | 24 make -j 4 && |
pankso@5672 | 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 } |