mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
libraries/dbus-sharp: SlackBuild, README & .info tidyups.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
3f9a95f223
commit
66c19f2d6a
3 changed files with 15 additions and 16 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue