summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/wxPython/wxPython.SlackBuild19
-rw-r--r--libraries/wxPython/wxPython.info12
2 files changed, 20 insertions, 11 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}
diff --git a/libraries/wxPython/wxPython.info b/libraries/wxPython/wxPython.info
index 27a9603f9c..c6c5f3c4bd 100644
--- a/libraries/wxPython/wxPython.info
+++ b/libraries/wxPython/wxPython.info
@@ -1,8 +1,10 @@
PRGNAM="wxPython"
-VERSION="2.8.9.2"
+VERSION="2.8.10.1"
HOMEPAGE="http://wxPython.org/"
-DOWNLOAD="http://downloads.sourceforge.net/wxpython/wxPython-src-2.8.9.2.tar.bz2"
-MD5SUM="e3d89746af98b9279e4ff39a57f6dc63"
-MAINTAINER="ppr:kut"
+DOWNLOAD="http://downloads.sourceforge.net/wxpython/wxPython-src-2.8.10.1.tar.bz2"
+DOWNLOAD_x86_64=""
+MD5SUM="65d5ef166f23fe8b4c67f58df164f93e"
+MD5SUM_x86_64=""
+MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="dsomero,rworkman"
+APPROVED="Erik Hanson"