diff options
author | DhabyX <slack.dhabyx@gmail.com> | 2014-10-18 16:05:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-18 16:05:18 +0700 |
commit | eaaeec68feaf0f50630cae4745765777a482e45e (patch) | |
tree | f0193286df74c7fec9ea45e9c5e5109295a4d966 /audio/mpd/mpd.SlackBuild | |
parent | 5965b83616662b943cb0e04a162c4b5eb04278e6 (diff) | |
download | slackbuilds-eaaeec68feaf0f50630cae4745765777a482e45e.tar.gz |
audio/mpd: Updated for version 0.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/mpd/mpd.SlackBuild')
-rw-r--r-- | audio/mpd/mpd.SlackBuild | 41 |
1 files changed, 33 insertions, 8 deletions
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild index 22dcc72aba..b28788ca17 100644 --- a/audio/mpd/mpd.SlackBuild +++ b/audio/mpd/mpd.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mpd -VERSION=${VERSION:-0.18.12} +VERSION=${VERSION:-0.19} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +57,20 @@ fi set -e +# flac support +if [ "${FLAC:-no}" != "no" ]; then + flac="enable" +else + flac="disable" +fi + +# id3 support +if [ "${ID3:-no}" != "no" ]; then + id3="enable" +else + id3="disable" +fi + # iso9660 support if [ "${ISO9660:-no}" != "no" ]; then iso9660="enable" @@ -64,6 +78,13 @@ else iso9660="disable" fi +# recorder file output support +if [ "${RECORDEROUTPUT:-no}" != "no" ]; then + recorder="enable" +else + recorder="disable" +fi + # Soundcloud.com support if [ "${SOUNDCLOUD:-no}" != "no" ]; then soundcloud="enable" @@ -71,11 +92,11 @@ else soundcloud="disable" fi -# recorder file output support -if [ "${RECORDEROUTPUT:-no}" != "no" ]; then - recorder="enable" +# sqlite support +if [ "${SQLITE:-no}" != "no" ]; then + sqlite="enable" else - recorder="disable" + sqlite="disable" fi # zziplib support @@ -96,22 +117,26 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; #adding LDFLAGS="-lnsl" for libwrap, part of tcp_wrappers package CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -LDFLAGS="-lnsl" \ +LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --enable-documentation \ + --${flac}-flac \ + --${id3}-id3 \ --${iso9660}-iso9660 \ + --${recorder}-recorder-output \ --${soundcloud}-soundcloud \ + --${sqlite}-sqlite \ --${zziplib}-zzip \ - --${recorder}-recorder-output \ + --enable-cdio-paranoia \ --disable-dependency-tracking \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux |