aboutsummaryrefslogtreecommitdiff
path: root/libraries/gtk-sharp/gtk-sharp.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <dfc@warpmail.net>2013-12-04 20:40:14 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:03 -0600
commitcce486203ad2c23d8297a9983c288fd510c4cf84 (patch)
tree09ee98a45a3e48b41520af4bdf56595b50a040d8 /libraries/gtk-sharp/gtk-sharp.SlackBuild
parent0e00044ed979dfe857f147ab51bf4597a6d62a28 (diff)
libraries/gtk-sharp: Updated for version 2.12.22.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 c44bb549df01..6a742b953aab 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 \