From 98d02cc48f4763845f174c4061fdf8e109c056c4 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Tue, 4 Oct 2011 08:15:58 -0500 Subject: system/cdemu-daemon: Updated for version 1.4.0. Signed-off-by: Erik Hanson --- system/cdemu-daemon/cdemu-daemon.SlackBuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'system/cdemu-daemon/cdemu-daemon.SlackBuild') diff --git a/system/cdemu-daemon/cdemu-daemon.SlackBuild b/system/cdemu-daemon/cdemu-daemon.SlackBuild index d5b0441184..667b0036da 100644 --- a/system/cdemu-daemon/cdemu-daemon.SlackBuild +++ b/system/cdemu-daemon/cdemu-daemon.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for cdemu-daemon # # Copyright 2008 Niklas "Nille" Åkerström -# Copyright 2010 Niels Horn +# Copyright 2010-2011 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,11 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Maintained as of version 1.3.0 by Niels Horn -# Revision date: 2010/11/20 +# Revision date: 2011/09/24 PRGNAM=cdemu-daemon -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,10 +83,15 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# Fix standard configuration to make it more "Slackware"-like +sed \ + -e "/^LOG_FILE/s|/tmp/|/var/log/|" \ + -e "/^CONFIG_FILE/s|/etc/sysconfig/|/etc/|" \ + -i $PKG/usr/bin/$PRGNAM-system.sh + # Install init script mkdir -p $PKG/etc/rc.d install -m 0755 $CWD/rc.cdemud $PKG/etc/rc.d/rc.cdemud.new -cat $CWD/rc.cdemud.conf > $PKG/etc/rc.d/rc.cdemud.conf.new # dbus and udev rules mv $PKG/etc/dbus-1/system.d/cdemud-dbus.conf \ -- cgit v1.2.3