aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2010-05-13 00:34:37 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:34:37 +0200
commit313d6a1a39a6c099f67d1aa6ca199094994a03c0 (patch)
tree223bdea3e4b5643461d99d152d662ee524d189cf /multimedia
parenta25fd4f6d38685804002f0efe9e33602732920fb (diff)
multimedia/dirac: Updated for version 1.0.2
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dirac/dirac.SlackBuild25
-rw-r--r--multimedia/dirac/dirac.info2
-rw-r--r--multimedia/dirac/slack-desc2
3 files changed, 17 insertions, 12 deletions
diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild
index 5e6e62290b8e..9274d1697043 100644
--- a/multimedia/dirac/dirac.SlackBuild
+++ b/multimedia/dirac/dirac.SlackBuild
@@ -6,10 +6,10 @@
# Copyright (c) 2008, Nishant Limbachia (nishant@mnspace.net)
# All rights reserved.
#
-# Redistribution and use of this script, with or without modification, is
+# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
-# 1. Redistributions of script must retain the above copyright notice,
+# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e # Exit on most errors
@@ -61,6 +64,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -75,20 +79,19 @@ make install \
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
+ 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
)
-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
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/multimedia/dirac/dirac.info b/multimedia/dirac/dirac.info
index 74359ddce6e2..e2ea58ea2f21 100644
--- a/multimedia/dirac/dirac.info
+++ b/multimedia/dirac/dirac.info
@@ -2,7 +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"
+MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
APPROVED="dsomero"
diff --git a/multimedia/dirac/slack-desc b/multimedia/dirac/slack-desc
index 78d05c10516c..53c40d02d1c4 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: