summaryrefslogtreecommitdiff
path: root/libraries/libmpd/libmpd.SlackBuild
diff options
context:
space:
mode:
authorDhabyX <slack.dhabyx@gmail.com>2014-01-12 23:25:34 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:00 -0600
commit939b789f2a7b628fc0c84df4f6c703537820453d (patch)
tree553ae32708edd50aeb0d31f283cac5a1087f64d1 /libraries/libmpd/libmpd.SlackBuild
parentdab9aaf7f82bade5b310f3ae620aa4ef64b49933 (diff)
downloadslackbuilds-939b789f2a7b628fc0c84df4f6c703537820453d.tar.gz
libraries/libmpd: Updated for version 11.8.17 + New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libmpd/libmpd.SlackBuild')
-rw-r--r--libraries/libmpd/libmpd.SlackBuild31
1 files changed, 26 insertions, 5 deletions
diff --git a/libraries/libmpd/libmpd.SlackBuild b/libraries/libmpd/libmpd.SlackBuild
index d786736abc..62dcbcfdb5 100644
--- a/libraries/libmpd/libmpd.SlackBuild
+++ b/libraries/libmpd/libmpd.SlackBuild
@@ -1,12 +1,33 @@
#!/bin/sh
# Slackware build script for libmpd
+# Copyright 2014, Dhaby Xiloj, Guatemala C. A.
+#
# Written by Kristaps Esterlins <esterlinsh[at]gmail.com>
# (no reply from above email)
# Maintained by Erik Hanson <erik@slackbuilds.org>
+# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libmpd
-VERSION=0.20.0
+VERSION=${VERSION:-11.8.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,10 +68,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \