summaryrefslogtreecommitdiff
path: root/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-03-21 12:52:14 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 00:07:32 +0000
commit38b4b330b8a89e28c4828bcb3430f353d50f6c1a (patch)
treecd4cd541a4ff4e5a059cdef7841040657f56d539 /libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
parent66c19f2d6ab5d6ab75db9177068e919dfb7b4444 (diff)
downloadslackbuilds-38b4b330b8a89e28c4828bcb3430f353d50f6c1a.tar.gz
libraries/dbus-sharp-glib: Updated for version 0.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild')
-rw-r--r--libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild b/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
index de49d71d67..4a9e9a22eb 100644
--- a/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
+++ b/libraries/dbus-sharp-glib/dbus-sharp-glib.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for dbus-sharp-glib
+# Copyright 2017 Donald Cooley, South Haven, Indiana, USA
# Copyright 2013 Donald Cooley La Porte, IN USA
# All rights reserved.
#
@@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dbus-sharp-glib
-VERSION=${VERSION:-0.6}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.6.0}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,11 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,7 +75,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
GMCS=/usr/bin/mcs \
-./autogen.sh \
+./configure \
--prefix=/usr \
--libdir=/usr/lib \
--sysconfdir=/etc \
@@ -100,7 +97,9 @@ if [ "$ARCH" = "x86_64" ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING* README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING INSTALL README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install