summaryrefslogtreecommitdiff
path: root/libraries/gtk-sharp/gtk-sharp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gtk-sharp/gtk-sharp.SlackBuild')
-rw-r--r--libraries/gtk-sharp/gtk-sharp.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/libraries/gtk-sharp/gtk-sharp.SlackBuild b/libraries/gtk-sharp/gtk-sharp.SlackBuild
index c44bb549df..6a742b953a 100644
--- a/libraries/gtk-sharp/gtk-sharp.SlackBuild
+++ b/libraries/gtk-sharp/gtk-sharp.SlackBuild
@@ -3,9 +3,10 @@
# Slackware build script for gtk-sharp
# Written by (crocket) (crockabiscuit@gmail.com)
+# Updated, edited, and maintained by Donald Cooley <dfc@warpmail.net> La Porte, IN USA
PRGNAM=gtk-sharp
-VERSION=${VERSION:-2.12.10}
+VERSION=${VERSION:-2.12.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +43,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+if [ -e $CWD/$VERSION.tar.gz ]; then
+ tar xvf $CWD/$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -52,12 +57,9 @@ find -L . \
-exec chmod 644 {} \;
chmod 644 HACKING
-# Fix building against gcc-4.7.x
-patch -p1 < $CWD/gtk-sharp-2.12.10-gcc47.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./bootstrap-2.12 \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \