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
9f19b3e794
commit
49b862f5c1
|
@ -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 New Issue