multimedia/dirac: Build bump, script cleanup.
This commit is contained in:
parent
e318c21932
commit
a0f4badd06
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue