summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
author Andrew Brouwers <abrouwers@gmail.com>2010-05-11 19:45:39 +0200
committer Robby Workman <rworkman@slackbuilds.org>2010-05-11 19:45:39 +0200
commit69806dd2e10e9f5c26a4a5597c7d828705cae615 (patch)
tree442d1067aea36475e19354e090bd067239a037a7 /multimedia
parent246af21942aa57a7b0eee99f1d727a6b5db4072a (diff)
downloadslackbuilds-69806dd2e10e9f5c26a4a5597c7d828705cae615.tar.gz
slackbuilds-69806dd2e10e9f5c26a4a5597c7d828705cae615.tar.xz
multimedia/mpd: Updated for version 0.13.1
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpd/README2
-rw-r--r--multimedia/mpd/doinst.sh4
-rw-r--r--multimedia/mpd/mpd.SlackBuild10
-rw-r--r--multimedia/mpd/mpd.info6
-rw-r--r--multimedia/mpd/slack-desc14
5 files changed, 24 insertions, 12 deletions
diff --git a/multimedia/mpd/README b/multimedia/mpd/README
index e3e0f41d0d..2ad0902c43 100644
--- a/multimedia/mpd/README
+++ b/multimedia/mpd/README
@@ -9,5 +9,5 @@ NOTE: You will have to create a directory manually, ~/.mpd/playlists.
Also, be sure to edit the config file (/etc/mpd.conf), if needed, before
running the daemon.
-If save status isn't working properly when killing, try `killall -TERM mpd`,
+If save status isn't working properly when killing, try "killall -TERM mpd",
and that should resolve the problem.
diff --git a/multimedia/mpd/doinst.sh b/multimedia/mpd/doinst.sh
index f44e64d067..569f1a04a1 100644
--- a/multimedia/mpd/doinst.sh
+++ b/multimedia/mpd/doinst.sh
@@ -1,10 +1,10 @@
config() {
NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
diff --git a/multimedia/mpd/mpd.SlackBuild b/multimedia/mpd/mpd.SlackBuild
index 0be8d496fc..764532f762 100644
--- a/multimedia/mpd/mpd.SlackBuild
+++ b/multimedia/mpd/mpd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mpd
-# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com>
+# Copyright 2008 Andrew Brouwers <abrouwers@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,13 +22,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=mpd
-VERSION=0.13.0
+VERSION=0.13.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG=_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-mpd
@@ -43,7 +42,7 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2"
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG
@@ -74,6 +73,7 @@ if [ -d $PKG/usr/man ]; then
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+
# Some docs are installed by the source, but we'll need to move them
cp -a AUTHORS COPYING INSTALL ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/mpd/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/multimedia/mpd/mpd.info b/multimedia/mpd/mpd.info
index dd1d497db7..5713621dcf 100644
--- a/multimedia/mpd/mpd.info
+++ b/multimedia/mpd/mpd.info
@@ -1,8 +1,8 @@
PRGNAM="mpd"
-VERSION="0.13.0"
+VERSION="0.13.1"
HOMEPAGE="http://www.musicpd.org/"
-DOWNLOAD="http://musicpd.org/uploads/files/mpd-0.13.0.tar.gz"
-MD5SUM="0b33bdb9d706439949344073e90f812a"
+DOWNLOAD="http://musicpd.org/uploads/files/mpd-0.13.1.tar.gz"
+MD5SUM="3079a76b7ce048d89e2f644b578cd4fe"
MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com"
APPROVED="rworkman"
diff --git a/multimedia/mpd/slack-desc b/multimedia/mpd/slack-desc
index db5207163b..30bc203c82 100644
--- a/multimedia/mpd/slack-desc
+++ b/multimedia/mpd/slack-desc
@@ -1,7 +1,19 @@
-mpd: Music Player Daemon
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler---------------------------------------------------------|
+mpd: mpd (Music Player Daemon)
mpd:
mpd: MPD is designed for integrating a computer into a stereo system that
mpd: provides control for music playback over a local network. It is also
mpd: a great music player using one of many available clients.
mpd:
+mpd: Homepage: http://www.musicpd.org/
+mpd:
+mpd:
+mpd:
mpd: