summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2011-07-07 22:53:25 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-07 22:53:25 -0300
commit93ac1dc4d1b1646720e9fa29e66069b7c0d8ae45 (patch)
tree18dbe6f8373342ca354ca9b0616ca9eafe240777 /development
parent46d3bc7d5c43dbaa02e82e1ae190e1574847e6c6 (diff)
downloadslackbuilds-93ac1dc4d1b1646720e9fa29e66069b7c0d8ae45.tar.gz
development/lazarus: Updated for version 0.9.30.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/lazarus/README8
-rw-r--r--development/lazarus/lazarus.SlackBuild15
-rw-r--r--development/lazarus/lazarus.info12
3 files changed, 18 insertions, 17 deletions
diff --git a/development/lazarus/README b/development/lazarus/README
index 9c5f7b8d68..808cfc0c72 100644
--- a/development/lazarus/README
+++ b/development/lazarus/README
@@ -2,11 +2,7 @@ Lazarus is a Rapid Application Development Tool for FreePascal.
It comes with the LCL - Lazarus component library, which contains platform
independent visual components like buttons, windows, checkbox, treeview and
many, many more. The LCL is platform independent, so you can write an
-application once and then compile for various platforms without changing code.
-
-Note: To build lazarus with qt4 interface (LCL) you need to install qt4pas
-and define the variable LCL: LCL=qt ./lazarus.SlackBuild
-
-Note: This won't build on non-i386 platforms.
+application once and then compile for various platforms without changing
+code.
This requires fpc [Free pascal].
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 \
diff --git a/development/lazarus/lazarus.info b/development/lazarus/lazarus.info
index 59b88274fb..0602e53a4a 100644
--- a/development/lazarus/lazarus.info
+++ b/development/lazarus/lazarus.info
@@ -1,10 +1,10 @@
PRGNAM="lazarus"
-VERSION="0.9.28.2"
+VERSION="0.9.30"
HOMEPAGE="http://www.lazarus.freepascal.org/"
-DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-0.9.28.2-src.tar.bz2"
-MD5SUM="52dc157fa1e83e90b5331820bd616d81"
-DOWNLOAD_x86_64="UNSUPPORTED"
-MD5SUM_x86_64="UNSUPPORTED"
+DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-0.9.30-src.tar.bz2"
+MD5SUM="5ece11700df569ebb518ccca37d93f1d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"
-APPROVED="rworkman"
+APPROVED="Niels Horn"