libraries/dbus-sharp-glib: Updated for version 0.6.0.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Donald Cooley 2017-03-21 12:52:14 +00:00 committed by David Spencer
parent 66c19f2d6a
commit 38b4b330b8
3 changed files with 20 additions and 21 deletions

View file

@ -1,6 +1,6 @@
This is a fork of ndesk-dbus-glib, which provides GLib main loop integration
for Managed D-Bus.
This is a fork of ndesk-dbus-glib, which provides GLib main loop
integration for Managed D-Bus.
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.

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="dbus-sharp-glib"
VERSION="0.6"
VERSION="0.6.0"
HOMEPAGE="https://github.com/mono/dbus-sharp-glib"
DOWNLOAD="https://github.com/mono/dbus-sharp-glib/archive/v0.6.tar.gz"
MD5SUM="1b00ef8523eb830acaa34b3f6fb8d739"
DOWNLOAD="https://github.com/mono/dbus-sharp-glib/releases/download/v0.6/dbus-sharp-glib-0.6.0.tar.gz"
MD5SUM="398475a4ed7793eb587c4f0eb913bb7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dbus-sharp"
MAINTAINER="Donald Cooley"
EMAIL="dfc@warpmail.net"
EMAIL="chytraeu@sdf.org"