system/unrar: Updated for version 4.0.3.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Niklas 'Nille' Åkerström 2011-01-05 07:19:28 -02:00 committed by Robby Workman
parent 46c919a2bc
commit edb1b3fcd0
2 changed files with 8 additions and 11 deletions

View file

@ -23,18 +23,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Updated by Andrew Brouwers # Updated by Andrew Brouwers
# Updated by Niklas 'Nille' Åkerström
PRGNAM=unrar PRGNAM=unrar
VERSION=3.9.7 VERSION=4.0.3
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i486 ;; i?86) ARCH=i486 ;;
arm*) ARCH=arm ;; arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -51,12 +50,10 @@ case "$ARCH" in
;; ;;
i686) SLKCFLAGS="-O2 -march=i686 -mtune=i686" i686) SLKCFLAGS="-O2 -march=i686 -mtune=i686"
;; ;;
s390) SLKCFLAGS="-O2"
;;
powerpc) SLKCFLAGS="-O2"
;;
x86_64) SLKCFLAGS="-O2 -fPIC" x86_64) SLKCFLAGS="-O2 -fPIC"
;; ;;
*) SLKCFLAGS="-O2"
;;
esac esac
set -e set -e

View file

@ -1,10 +1,10 @@
PRGNAM="unrar" PRGNAM="unrar"
VERSION="3.9.7" VERSION="4.0.3"
HOMEPAGE="http://www.rarlab.com" HOMEPAGE="http://www.rarlab.com"
DOWNLOAD="http://www.rarlab.com/rar/unrarsrc-3.9.7.tar.gz" DOWNLOAD="http://www.rarlab.com/rar/unrarsrc-4.0.3.tar.gz"
MD5SUM="3222f3e6a8c1b79b4f60086d2af3727a" MD5SUM="2db701a29cf2e7a34b363dc6276b644a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Niklas 'Nille' Åkerström" MAINTAINER="Niklas 'Nille' Åkerström"
EMAIL="nille.kungen[AT]gmail.com" EMAIL="nille.kungen[AT]gmail.com"
APPROVED="michiel" APPROVED="Niels Horn"