summaryrefslogtreecommitdiff
path: root/multimedia/minidlna/minidlna.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-12-29 00:14:18 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-29 00:14:18 -0600
commit970e2240277a957b5f8ef36b9e317f5f4645cbad (patch)
treeedca612b280a066b572602c8d9a20fa222e73b8a /multimedia/minidlna/minidlna.SlackBuild
parenta5682259a11034113754db3dac881b74f0915022 (diff)
downloadslackbuilds-970e2240277a957b5f8ef36b9e317f5f4645cbad.tar.gz
multimedia/minidlna: Updated for version 1.0.22.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 \