summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Niels Horn2013-04-08 01:22:53 +0200
committer Robby Workman2013-04-16 00:20:33 +0200
commitce0fe56f92ef01a6f375f6b41b50fd3739e6b4f6 (patch)
treebdc339ad21a34323066da68d3c23d1a51cfc78bc
parenta18618147f118b49e785e7b55e53f9fa03ea1a28 (diff)
downloadslackbuilds-ce0fe56f92ef01a6f375f6b41b50fd3739e6b4f6.tar.gz
system/cdemu-client: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--system/cdemu-client/cdemu-client.SlackBuild32
-rw-r--r--system/cdemu-client/cdemu-client.info8
-rw-r--r--system/cdemu-client/slack-desc4
3 files changed, 23 insertions, 21 deletions
diff --git a/system/cdemu-client/cdemu-client.SlackBuild b/system/cdemu-client/cdemu-client.SlackBuild
index 40440aad8f..df3d741363 100644
--- a/system/cdemu-client/cdemu-client.SlackBuild
+++ b/system/cdemu-client/cdemu-client.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for cdemu-client
# command-line client for cdemu-daemon
-# Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2010-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Revision date: 2012/09/15
+# Revision date: 2013/03/31
PRGNAM=cdemu-client
-VERSION=${VERSION:-1.5.0}
+VERSION=${VERSION:-2.0.0}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,27 +49,29 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go+r-w .
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make VERBOSE=1
+ make install DESTDIR=$PKG
+cd ..
-make
-make install-strip DESTDIR=$PKG
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Create standard cdemu-client.conf
-# we'll use the system dbus instead of the session dbus
+# we'll use the session dbus
mkdir -p $PKG/etc
cat > $PKG/etc/cdemu-client.conf.new << EOF
[defaults]
-bus=system
+bus=session
EOF
mkdir -p $PKG/usr/share/{applications,pixmaps}
diff --git a/system/cdemu-client/cdemu-client.info b/system/cdemu-client/cdemu-client.info
index 0d14ca3acf..2608974f10 100644
--- a/system/cdemu-client/cdemu-client.info
+++ b/system/cdemu-client/cdemu-client.info
@@ -1,8 +1,8 @@
PRGNAM="cdemu-client"
-VERSION="1.5.0"
-HOMEPAGE="http://cdemu.sourceforge.net/pkg_client.php"
-DOWNLOAD="http://downloads.sourceforge.net/cdemu/cdemu-client-1.5.0.tar.bz2"
-MD5SUM="11141138f2b91a7100445d9c32b31181"
+VERSION="2.0.0"
+HOMEPAGE="http://cdemu.sourceforge.net/about/client/"
+DOWNLOAD="http://downloads.sourceforge.net/cdemu/cdemu-client-2.0.0.tar.bz2"
+MD5SUM="ceeec43270c28ea02c7e8a5a7009f3e0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cdemu-daemon"
diff --git a/system/cdemu-client/slack-desc b/system/cdemu-client/slack-desc
index 137398b3a5..97ce68d994 100644
--- a/system/cdemu-client/slack-desc
+++ b/system/cdemu-client/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-cdemu-client: CDEmu-client (command-line client for CDEmu-daemon)
+cdemu-client: cdemu-client (command-line client for CDEmu-daemon)
cdemu-client:
cdemu-client: CDEmu client is a simple command-line client for controlling CDEmu-
cdemu-client: daemon.
@@ -14,6 +14,6 @@ cdemu-client: It provides a way to perform the key tasks related to controlling
cdemu-client: CDEmu daemon, such as loading and unloading devices, displaying
cdemu-client: devices' status and retrieving/setting devices' debug masks.
cdemu-client:
-cdemu-client: Homepage: http://cdemu.sourceforge.net/pkg_client.php
+cdemu-client: Homepage: http://cdemu.sourceforge.net/about/client/
cdemu-client:
cdemu-client: