summaryrefslogtreecommitdiffstats
path: root/clamav
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-03-20 23:59:29 +0000
committer Eric Hameleers <alien@slackware.com>2012-03-20 23:59:29 +0000
commit96d16bdc28d1dd658aa05bbf2db84a712fdda354 (patch)
tree4783fa9c0d4f6ef9b8c5c515ab8b5358b5033ca2 /clamav
parentcac02abfcdad2713d295a1cf28e3562bed695d77 (diff)
downloadasb-96d16bdc28d1dd658aa05bbf2db84a712fdda354.tar.gz
asb-96d16bdc28d1dd658aa05bbf2db84a712fdda354.tar.xz
Update to 0.97.4
Diffstat (limited to 'clamav')
-rwxr-xr-xclamav/build/clamav.SlackBuild21
1 files changed, 15 insertions, 6 deletions
diff --git a/clamav/build/clamav.SlackBuild b/clamav/build/clamav.SlackBuild
index f7c6cb8e..806b6457 100755
--- a/clamav/build/clamav.SlackBuild
+++ b/clamav/build/clamav.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# $Id$
-# Copyright 2006-2011 Eric Hameleers, Eindhoven, NL
+# Copyright 2006-2012 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -138,6 +138,10 @@
# * New release.
# 0.97.2-1: 19/aug/2011 by Eric Hameleers
# * New release.
+# 0.97.3-1: 24/nov/2011 by Eric Hameleers
+# * New release.
+# 0.97.4-1: 21/mar/2012 by Eric Hameleers
+# * New release.
#
# Run 'sh clamav.SlackBuild' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -148,7 +152,7 @@
# Set initial variables:
PRGNAM=clamav
-VERSION=${VERSION:-"0.97.2"}
+VERSION=${VERSION:-"0.97.4"}
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
@@ -182,12 +186,14 @@ else
fi
# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
+ *) export ARCH=$MARCH ;;
esac
fi
@@ -198,6 +204,9 @@ case "$ARCH" in
x86_64) SLKCFLAGS="-O2 -fPIC"
SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"
;;
+ armv7hl) SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ SLKLDFLAGS=""; LIBDIRSUFFIX=""
+ ;;
*) SLKCFLAGS="-O2"
SLKLDFLAGS=""; LIBDIRSUFFIX=""
;;