diff options
author | Eric Hameleers <alien@slackware.com> | 2012-03-31 15:17:15 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2012-03-31 15:17:15 +0000 |
commit | 7589b125289fc15cca93a8806212e9f7af5fe1ed (patch) | |
tree | b2eea84e5654cb2fd9d0374820f4a4bbb468329f /sigil | |
parent | f0cb45370c179777d4c75d1f8ed9d8dec9e13e79 (diff) | |
download | asb-7589b125289fc15cca93a8806212e9f7af5fe1ed.tar.gz asb-7589b125289fc15cca93a8806212e9f7af5fe1ed.tar.xz |
Update to 0.5.3
Diffstat (limited to 'sigil')
-rwxr-xr-x | sigil/build/sigil.SlackBuild | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/sigil/build/sigil.SlackBuild b/sigil/build/sigil.SlackBuild index a992bc5c..e7eab14b 100755 --- a/sigil/build/sigil.SlackBuild +++ b/sigil/build/sigil.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright 2011 Eric Hameleers, Eindhoven, NL +# Copyright 2011, 2012 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -36,6 +36,10 @@ # * Update. # 0.4.2-1: 04/sep/2011 by Eric Hameleers <alien@slackware.com> # * Update. +# 0.5.1-1: 08/feb/2012 by Eric Hameleers <alien@slackware.com> +# * Update. +# 0.5.3-1: 30/mar/2012 by Eric Hameleers <alien@slackware.com> +# * Update. # # Run 'sh sigil.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -47,7 +51,7 @@ PRGNAM=sigil SRCNAM=Sigil -VERSION=${VERSION:-0.4.2} +VERSION=${VERSION:-0.5.3} BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:" -j4 "} TAG=${TAG:-alien} @@ -70,12 +74,14 @@ SRCURL="http://sigil.googlecode.com/files/${SRCNAM}-${VERSION}-Code.zip" ## # 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 @@ -86,6 +92,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="" ;; |