diff options
Diffstat (limited to 'libraries/wxGTK/wxGTK.SlackBuild')
-rw-r--r-- | libraries/wxGTK/wxGTK.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild index 6e72a14951d4e..2c4e8636405d8 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 |