From 66c19f2d6ab5d6ab75db9177068e919dfb7b4444 Mon Sep 17 00:00:00 2001 From: Donald Cooley Date: Tue, 21 Mar 2017 12:50:10 +0000 Subject: [PATCH] libraries/dbus-sharp: SlackBuild, README & .info tidyups. Signed-off-by: David Spencer --- libraries/dbus-sharp/README | 6 +++--- libraries/dbus-sharp/dbus-sharp.SlackBuild | 19 +++++++++---------- libraries/dbus-sharp/dbus-sharp.info | 6 +++--- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/libraries/dbus-sharp/README b/libraries/dbus-sharp/README index 98f48038fb..086cb8f556 100644 --- a/libraries/dbus-sharp/README +++ b/libraries/dbus-sharp/README @@ -2,6 +2,6 @@ This is a fork of ndesk-dbus, which is a C# implementation of D-Bus. It's often referred to as "managed D-Bus" to avoid confusion with existing bindings (which wrap libdbus). -D-Bus is an inter-process communication framework that lets applications -interface with the system event bus as well as allowing them to talk to -one another in a peer-to-peer configuration. +D-Bus is an inter-process communication framework that lets +applications interface with the system event bus as well as allowing +them to talk to one another in a peer-to-peer configuration. 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 diff --git a/libraries/dbus-sharp/dbus-sharp.info b/libraries/dbus-sharp/dbus-sharp.info index 81c23498d4..6556b1656a 100644 --- a/libraries/dbus-sharp/dbus-sharp.info +++ b/libraries/dbus-sharp/dbus-sharp.info @@ -1,10 +1,10 @@ PRGNAM="dbus-sharp" VERSION="0.8.1" HOMEPAGE="https://github.com/mono/dbus-sharp" -DOWNLOAD="https://github.com/mono/dbus-sharp/archive/v0.8.1.tar.gz" -MD5SUM="872ebacc5c9446033591f6dd2a781e72" +DOWNLOAD="https://github.com/mono/dbus-sharp/releases/download/v0.8.1/dbus-sharp-0.8.1.tar.gz" +MD5SUM="bb94ab3d9703342a2e936e52c87c783a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="mono" MAINTAINER="Donald Cooley" -EMAIL="dfc@warpmail.net" +EMAIL="chytraeu@sdf.org"