multimedia/mplayer-codecs-all: Updated for version 20071007

This commit is contained in:
Robby Workman 2010-05-12 17:42:44 +02:00 committed by Erik Hanson
parent 5de2edadeb
commit ab96d50277
2 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for mplayer-codecs-all # Slackware build script for mplayer-codecs-all
# Copyright 2006-2007 Robby Workman (http://rlworkman.net) # Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# All rights reserved. # 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
@ -25,19 +25,20 @@
PRGNAM=mplayer-codecs-all PRGNAM=mplayer-codecs-all
VERSION=20071007 VERSION=20071007
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG/usr/lib $OUTPUT mkdir -p $TMP $PKG/usr/lib $OUTPUT
cd $PKG/usr/lib || exit 1 tar xvf $CWD/all-$VERSION.tar.bz2 -C $PKG/usr/lib
tar xvf $CWD/all-$VERSION.tar.bz2 || exit 1 mv $PKG/usr/lib/all-$VERSION $PKG/usr/lib/codecs
mv all-$VERSION codecs
cd codecs
( cd $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 "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
@ -46,11 +47,10 @@ cd codecs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mv $PKG/usr/lib/codecs/README $PKG/usr/doc/$PRGNAM-$VERSION/ mv $PKG/usr/lib/codecs/README $PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc sed s/DATE/$VERSION/ $CWD/slack-desc > $PKG/install/slack-desc
sed -i s/DATE/$VERSION/ $PKG/install/slack-desc
cd $PKG cd $PKG
chown -R root:root . chown -R root:root .

View File

@ -6,12 +6,12 @@
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
mplayer-codecs-all: mplayer-codecs-all (Codecs for MPlayer (win32, quicktime, etc)) mplayer-codecs-all: mplayer-codecs-all (Codecs for MPlayer (win32, quicktime, etc)
mplayer-codecs-all: mplayer-codecs-all:
mplayer-codecs-all: This is a repackaging of the all-DATE.tar.bz2 mplayer-codecs-all: This is a repackaging of the all-DATE.tar.bz2
mplayer-codecs-all: archive distributed by mplayer. These codecs mplayer-codecs-all: archive distributed by mplayer. These codecs
mplayer-codecs-all: install to /usr/lib/codecs (and are also symlinked mplayer-codecs-all: install to /usr/lib/codecs
mplayer-codecs-all: to /usr/lib/win32 for compatibility). mplayer-codecs-all:
mplayer-codecs-all: mplayer-codecs-all:
mplayer-codecs-all: mplayer-codecs-all:
mplayer-codecs-all: mplayer-codecs-all: