aboutsummaryrefslogtreecommitdiff
path: root/multimedia
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
parente318c219321eca7ace8459135de114c2e1053910 (diff)
multimedia/dirac: Build bump, script cleanup.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dirac/dirac.SlackBuild20
-rw-r--r--multimedia/dirac/dirac.info5
-rw-r--r--multimedia/dirac/slack-desc2
3 files changed, 11 insertions, 16 deletions
diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild
index 9274d1697043..c670df7636f1 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
diff --git a/multimedia/dirac/dirac.info b/multimedia/dirac/dirac.info
index e2ea58ea2f21..eb60e9fa7a94 100644
--- a/multimedia/dirac/dirac.info
+++ b/multimedia/dirac/dirac.info
@@ -2,10 +2,9 @@ PRGNAM="dirac"
VERSION="1.0.2"
HOMEPAGE="http://diracvideo.org/"
DOWNLOAD="http://diracvideo.org/download/dirac-research/dirac-1.0.2.tar.gz"
-DOWNLOAD_x86_64=""
MD5SUM="a57c2c5e58062d437d9ab13dffb28f0f"
+DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="dsomero"
-
+APPROVED="Erik Hanson"
diff --git a/multimedia/dirac/slack-desc b/multimedia/dirac/slack-desc
index 53c40d02d1c4..78d05c10516c 100644
--- a/multimedia/dirac/slack-desc
+++ b/multimedia/dirac/slack-desc
@@ -11,7 +11,7 @@ dirac:
dirac: Dirac is an advanced royalty-free video compression format designed
dirac: for a wide range of uses, from delivering low-resolution web content
dirac: to broadcasting HD and beyond, to near-lossless studio editing.
-dirac:
+dirac:
dirac: Homepage: http://diracvideo.org/
dirac:
dirac: