summaryrefslogtreecommitdiff
path: root/multimedia/mpd/mpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mpd/mpd.SlackBuild')
-rw-r--r--multimedia/mpd/mpd.SlackBuild10
1 files changed, 5 insertions, 5 deletions
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