wok-stable annotate wxpython/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | 3419fd419665 |
children |
rev | line source |
---|---|
pankso@5672 | 1 # SliTaz package receipt. |
pankso@5672 | 2 |
pankso@5672 | 3 PACKAGE="wxpython" |
slaxemulator@11139 | 4 VERSION="2.8.12.1" |
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" |
slaxemulator@11139 | 10 SOURCE="wxPython" |
slaxemulator@11139 | 11 TARBALL="$SOURCE-src-$VERSION.tar.bz2" |
pankso@5672 | 12 WEB_SITE="http://www.wxpython.org/" |
slaxemulator@11139 | 13 WGET_URL="$SF_MIRROR/wxpython/$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 --without-sdl \ |
slaxemulator@9545 | 21 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 22 make $MAKEFLAGS && |
slaxemulator@10064 | 23 make DESTDIR=$DESTDIR install |
pankso@5672 | 24 } |
pankso@5672 | 25 |
pankso@5672 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5672 | 27 genpkg_rules() |
pankso@5672 | 28 { |
pankso@5672 | 29 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@5672 | 30 cp -a $_pkg/usr/bin/wxrc* $fs/usr/bin |
pankso@5672 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@5672 | 32 } |