diff options
author | Andre Barboza <bmg.andre@gmail.com> | 2011-07-07 22:53:25 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-07 22:53:25 -0300 |
commit | 93ac1dc4d1b1646720e9fa29e66069b7c0d8ae45 (patch) | |
tree | 18dbe6f8373342ca354ca9b0616ca9eafe240777 /development/lazarus/lazarus.SlackBuild | |
parent | 46d3bc7d5c43dbaa02e82e1ae190e1574847e6c6 (diff) | |
download | slackbuilds-93ac1dc4d1b1646720e9fa29e66069b7c0d8ae45.tar.gz |
development/lazarus: Updated for version 0.9.30.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development/lazarus/lazarus.SlackBuild')
-rw-r--r-- | development/lazarus/lazarus.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/development/lazarus/lazarus.SlackBuild b/development/lazarus/lazarus.SlackBuild index a9d88e6524..e87ed26c67 100644 --- a/development/lazarus/lazarus.SlackBuild +++ b/development/lazarus/lazarus.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=lazarus -VERSION=${VERSION:-0.9.28.2} +VERSION=${VERSION:-0.9.30} # We'll define ARCH in just a bit... BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,10 +34,15 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "x86_64" ]; then +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i386 ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if ! [[ "$ARCH" = "x86_64" || "$ARCH" = "i386" ]]; then printf "\nThis won't build on $ARCH.\n\n";exit 1 -else - ARCH=i386 fi set -e @@ -59,7 +64,7 @@ if [ "$LCL" = "qt" ]; then OPT="-dUSE_QT_45" fi -# Compilation dont need ./configure +# Compilation doesn't need ./configure make clean make all \ PREFIX=/usr \ |