mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
multimedia/mplayer-codecs64: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
2706423f6e
commit
9e11a31692
1 changed files with 3 additions and 3 deletions
|
@ -23,12 +23,12 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=mplayer-codecs64
|
||||
VERSION=20061022
|
||||
VERSION=${VERSION:-20061022}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -41,7 +41,7 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
set -e
|
||||
|
||||
if [ "$ARCH" != "x86_64" ]; then
|
||||
if [ "$ARCH" = "i486" ] ; then
|
||||
if [ "$ARCH" = "i586" ] ; then
|
||||
printf "\nThis is for 64-bit codecs only. If you need 32-bit codecs,\n"
|
||||
printf "then you need the \"mplayer-codecs32\" package instead.\n\n"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue