aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAndrew Brouwers <abrouwers@gmail.com>2010-05-13 00:21:51 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:21:51 +0200
commitdeaef7a0513acd6447d285ce93f194abc8978196 (patch)
treebd4ad7142e64569da1175f55b433788b46310199 /audio
parentaf513968ed17889815da8fc61e0732c90cf617ed (diff)
audio/ncmpc: Updated for version 0.16
Diffstat (limited to 'audio')
-rw-r--r--audio/ncmpc/README2
-rw-r--r--audio/ncmpc/ncmpc.SlackBuild10
-rw-r--r--audio/ncmpc/ncmpc.info11
3 files changed, 15 insertions, 8 deletions
diff --git a/audio/ncmpc/README b/audio/ncmpc/README
index 229fe1c45c200..9f5b0595c6510 100644
--- a/audio/ncmpc/README
+++ b/audio/ncmpc/README
@@ -2,3 +2,5 @@ ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc connects
to a MPD running on a machine on the local network, and controls this with
an interface inspired by cplay. If ncmpc is used with lirc and irpty it can
be used to manage playlists and control MPD with a remote control.
+
+ncmpc requires libmpdclient (v2), which is available at slackbuilds.org.
diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild
index 0bbc57e15bf8e..74be002a18ffa 100644
--- a/audio/ncmpc/ncmpc.SlackBuild
+++ b/audio/ncmpc/ncmpc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ncmpc
-# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com>
+# Copyright 2006-2010 Andrew Brouwers <abrouwers@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=ncmpc
-VERSION=0.14
+VERSION=0.16
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -56,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
|| exit 1
@@ -73,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/ncmpc/ncmpc.info b/audio/ncmpc/ncmpc.info
index 78e1f5fa9c28b..5fe4b6c270f57 100644
--- a/audio/ncmpc/ncmpc.info
+++ b/audio/ncmpc/ncmpc.info
@@ -1,9 +1,10 @@
PRGNAM="ncmpc"
-VERSION="0.14"
+VERSION="0.16"
HOMEPAGE="http://mpd.wikia.com/wiki/Client:Ncmpc"
-DOWNLOAD="http://downloads.sourceforge.net/musicpd/ncmpc-0.14.tar.bz2"
-MD5SUM="a62a3454579efff7cca71691a3b098fb"
+DOWNLOAD="http://downloads.sourceforge.net/musicpd/ncmpc-0.16.tar.bz2"
+DOWNLOAD_x86_64=""
+MD5SUM="63b6bf666b6326c87abdea5f900a4fc3"
+MD5SUM_x86_64=""
MAINTAINER="Andrew Brouwers"
EMAIL="abrouwers@gmail.com"
-APPROVED="dsomero"
-
+APPROVED="Erik Hanson"