summaryrefslogtreecommitdiff
path: root/libraries/wxPython/wxPython.SlackBuild
diff options
context:
space:
mode:
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}