summaryrefslogtreecommitdiff
path: root/libraries/wxPython/wxPython.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:33:48 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:33:48 +0200
commit1a48d492c13d3495a4032b04b9fe07deabf5c55e (patch)
treef9296218b4a0f6f1adbe0aa1f904f1c529026c3f /libraries/wxPython/wxPython.SlackBuild
parentfe26b8c6f90396f8402c0911df7f06b55944006e (diff)
downloadslackbuilds-1a48d492c13d3495a4032b04b9fe07deabf5c55e.tar.gz
libraries/wxPython: Updated for version 2.8.10.1
Diffstat (limited to 'libraries/wxPython/wxPython.SlackBuild')
-rw-r--r--libraries/wxPython/wxPython.SlackBuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/libraries/wxPython/wxPython.SlackBuild b/libraries/wxPython/wxPython.SlackBuild
index 85a138d2c9..6e5a7632a1 100644
--- a/libraries/wxPython/wxPython.SlackBuild
+++ b/libraries/wxPython/wxPython.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for wxPython
-# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2007-2010 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wxPython
-VERSION=2.8.9.2
+VERSION=2.8.10.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -76,18 +76,22 @@ CXXFLAGS="$SLKCFLAGS" \
--$do_gp-gnomeprint \
--enable-unicode \
--enable-graphics_ctx \
+ --enable-display \
+ --enable-mediactrl \
+ --enable-sound \
--libdir=/usr/lib$LIBDIRSUFFIX \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
-#Additional stuff needed by wxPython
+#Additional stuff from contrib
make -C contrib/src/gizmos
+make -C contrib/src/ogl
make -C contrib/src/stc
make install DESTDIR=$PKG
make -C contrib/src/gizmos install DESTDIR=$PKG
+make -C contrib/src/ogl install DESTDIR=$PKG
make -C contrib/src/stc install DESTDIR=$PKG
cd wxPython
@@ -117,6 +121,9 @@ cd wxPython
install --root=$PKG
cd -
+# install wxPython includes
+cp -rf include/wx-2.8/wx/wxPython $PKG/usr/include/wx-2.8/wx/
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -133,4 +140,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}