summaryrefslogtreecommitdiff
path: root/multimedia/dirac/dirac.SlackBuild
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-04-24 03:51:03 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:50:23 +0200
commita0f4badd060c7764c6198594cd87985f80ab0927 (patch)
tree7de844874858b9c176b8443b984190546baa01be /multimedia/dirac/dirac.SlackBuild
parente318c219321eca7ace8459135de114c2e1053910 (diff)
downloadslackbuilds-a0f4badd060c7764c6198594cd87985f80ab0927.tar.gz
multimedia/dirac: Build bump, script cleanup.
Diffstat (limited to 'multimedia/dirac/dirac.SlackBuild')
-rw-r--r--multimedia/dirac/dirac.SlackBuild20
1 files changed, 8 insertions, 12 deletions
diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild
index 9274d16970..c670df7636 100644
--- a/multimedia/dirac/dirac.SlackBuild
+++ b/multimedia/dirac/dirac.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for Dirac
# Home Page http://www.diracvideo.org/
-# Copyright (c) 2008, Nishant Limbachia (nishant@mnspace.net)
+# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
PRGNAM=dirac
VERSION=1.0.2
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -64,8 +64,8 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--mandir=/usr/man \
--infodir=/usr/info \
@@ -78,16 +78,12 @@ make install \
htmldir=/usr/doc/$PRGNAM-$VERSION/html \
DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+### strip binaries
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING INSTALL \
+ NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install