summaryrefslogtreecommitdiff
path: root/multimedia/minidlna/minidlna.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/minidlna/minidlna.SlackBuild')
-rw-r--r--multimedia/minidlna/minidlna.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/minidlna/minidlna.SlackBuild b/multimedia/minidlna/minidlna.SlackBuild
index 6a3bca7e11..d7190d6523 100644
--- a/multimedia/minidlna/minidlna.SlackBuild
+++ b/multimedia/minidlna/minidlna.SlackBuild
@@ -1,7 +1,6 @@
#!/bin/sh
# Slackware build script for minidlna
-# a mini dlna server
# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil
# All rights reserved.
@@ -23,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2011/08/18
+# revision date 2011/12/28
PRGNAM=minidlna
-VERSION=${VERSION:-1.0.21}
+VERSION=${VERSION:-1.0.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,13 +71,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Let Makefile accept out CFLAGS
+# Let Makefile accept our CFLAGS and make it verbose
sed \
-e "/^CFLAGS/s/=/+=/" \
+ -e "s/@\$(CC)/\$(CC)/g" \
-i Makefile
-CFLAGS="$SLKCFLAGS" \
- make
+CFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \