diff options
Diffstat (limited to 'development/lazarus')
-rw-r--r-- | development/lazarus/README | 8 | ||||
-rw-r--r-- | development/lazarus/lazarus.SlackBuild | 15 | ||||
-rw-r--r-- | development/lazarus/lazarus.info | 12 |
3 files changed, 18 insertions, 17 deletions
diff --git a/development/lazarus/README b/development/lazarus/README index 9c5f7b8d68004..808cfc0c7278a 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 a9d88e6524467..e87ed26c67206 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 59b88274fb65b..0602e53a4a3e0 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" |