summaryrefslogtreecommitdiff
path: root/libraries/dbus-sharp/dbus-sharp.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-03-21 12:50:10 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 00:07:32 +0000
commit66c19f2d6ab5d6ab75db9177068e919dfb7b4444 (patch)
treec8bded36766100306b86888975662f91bf711230 /libraries/dbus-sharp/dbus-sharp.SlackBuild
parent3f9a95f223647e03a470ee1327283d6f3a718b35 (diff)
downloadslackbuilds-66c19f2d6ab5d6ab75db9177068e919dfb7b4444.tar.gz
libraries/dbus-sharp: SlackBuild, README & .info tidyups.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/dbus-sharp/dbus-sharp.SlackBuild')
-rw-r--r--libraries/dbus-sharp/dbus-sharp.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/libraries/dbus-sharp/dbus-sharp.SlackBuild b/libraries/dbus-sharp/dbus-sharp.SlackBuild
index d052ca551d..f58ba24e86 100644
--- a/libraries/dbus-sharp/dbus-sharp.SlackBuild
+++ b/libraries/dbus-sharp/dbus-sharp.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for dbus-sharp
+# Copyright 2017 Donald Cooley, South Haven, Indiana USA
# Copyright 2013 Donald Cooley La Porte, IN USA
# All rights reserved.
#
@@ -29,7 +30,7 @@ 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