summaryrefslogtreecommitdiff
path: root/libraries/wxGTK/wxGTK.SlackBuild
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-11 22:24:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:25 +0200
commit5f0e478881a0961fd3bdf0d7490f0320a30efc15 (patch)
tree511069981a6c4978e8cffceb6f66fb11ec08857e /libraries/wxGTK/wxGTK.SlackBuild
parente6badaf217d14ce15dcc157d36456fd9346d98f8 (diff)
downloadslackbuilds-5f0e478881a0961fd3bdf0d7490f0320a30efc15.tar.gz
libraries/wxGTK: Updated for version 2.8.9
Diffstat (limited to 'libraries/wxGTK/wxGTK.SlackBuild')
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 6e72a14951..2c4e863640 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -9,10 +9,11 @@
# Modified by the SlackBuilds.org project
PRGNAM=wxGTK
-VERSION=2.6.4
+VERSION=2.8.9
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -36,6 +37,7 @@ cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION || exit 1
+
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -67,15 +69,14 @@ make install DESTDIR=$PKG || exit 1
cd $PKG/usr/bin
rm wx-config
if [ "$UNICODE" = "YES" ]; then
- ln -s /usr/lib/wx/config/gtk2-unicode-release-2.6 wx-config
+ ln -s /usr/lib/wx/config/gtk2-unicode-release-2.8 wx-config
elif [ "$UNICODE" = "NO" ]; then
- ln -s /usr/lib/wx/config/gtk2-ansi-release-2.6 wx-config
+ ln -s /usr/lib/wx/config/gtk2-ansi-release-2.8 wx-config
fi
cd -
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES-GTK.txt CHANGES.txt COPYING.LIB INSTALL.txt LICENCE.txt \
- README-GTK.txt README.txt TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install