From cce486203ad2c23d8297a9983c288fd510c4cf84 Mon Sep 17 00:00:00 2001 From: Donald Cooley Date: Wed, 4 Dec 2013 20:40:14 +0700 Subject: libraries/gtk-sharp: Updated for version 2.12.22. Signed-off-by: Willy Sudiarto Raharjo --- libraries/gtk-sharp/gtk-sharp.SlackBuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'libraries/gtk-sharp/gtk-sharp.SlackBuild') 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 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 \ -- cgit v1.2.3