aboutsummaryrefslogtreecommitdiff
path: root/system/cdemu-daemon/cdemu-daemon.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-10-04 08:15:58 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 21:20:28 -0500
commit98d02cc48f4763845f174c4061fdf8e109c056c4 (patch)
treea683bfec23bf33a333ad0524b6bb44224f382436 /system/cdemu-daemon/cdemu-daemon.SlackBuild
parentc7b6e320db7873555b05b7de04d4d89c40a34de1 (diff)
system/cdemu-daemon: Updated for version 1.4.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/cdemu-daemon/cdemu-daemon.SlackBuild')
-rw-r--r--system/cdemu-daemon/cdemu-daemon.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/system/cdemu-daemon/cdemu-daemon.SlackBuild b/system/cdemu-daemon/cdemu-daemon.SlackBuild
index d5b0441184cc..667b0036dae3 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 <niels.horn@gmail.com>
-# 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 \