mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
academic/units: Updated for version 2.14.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
7a7e110882
commit
ec76943954
2 changed files with 7 additions and 7 deletions
|
@ -25,13 +25,13 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=units
|
PRGNAM=units
|
||||||
VERSION=${VERSION:-2.13}
|
VERSION=${VERSION:-2.14}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="units"
|
PRGNAM="units"
|
||||||
VERSION="2.13"
|
VERSION="2.14"
|
||||||
HOMEPAGE="http://www.gnu.org/software/units/"
|
HOMEPAGE="http://www.gnu.org/software/units/"
|
||||||
DOWNLOAD="http://ftp.gnu.org/gnu/units/units-2.13.tar.gz"
|
DOWNLOAD="http://ftp.gnu.org/gnu/units/units-2.14.tar.gz"
|
||||||
MD5SUM="5cbf2a6af76e94ba0ac55fc8d99d5a3e"
|
MD5SUM="a0f133794d2d36b92319be56094b4096"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="Unidecode"
|
REQUIRES="Unidecode"
|
||||||
|
|
Loading…
Reference in a new issue