development/lazarus: Updated for version 2.2.6.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Antonio Leal 2023-08-18 19:33:07 +09:00 committed by Willy Sudiarto Raharjo
parent 90ea9a8a40
commit 537d1b01d4
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 13 additions and 11 deletions

View File

@ -3,7 +3,8 @@
# Slackware build script for Lazarus IDE
# Written by Andre Barboza <email removed>
# Now maintained by B. Watson <urchlay@slackware.uk>
# Previously maintained by B. Watson <urchlay@slackware.uk>
# Now maintained by Antonio Leal <antonioleal@yahoo.com>
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -36,13 +37,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lazarus
VERSION=${VERSION:-2.0.12}
BUILD=${BUILD:-2}
VERSION=${VERSION:-2.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
FPCVER=${FPCVER:-3.2.2}
LCL=${LCL:-gtk2}
OPT=${OPT:--v000}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -78,14 +80,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION-0.tar.gz
cd $PRGNAM
fixperms
sed -i -e 's:share/man:man:' install/man/Makefile
# Compilation doesn't need ./configure
make clean
make -j1 all \
make -j1 bigide \
PREFIX=/usr \
LCL_PLATFORM=${LCL} \
OPT=${OPT}
@ -124,7 +126,7 @@ cat install/lazarus-mime.xml > $PKG/usr/share/mime/packages/lazarus-mime.xml
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -ra COPYING* README.txt docs/* examples/ $PKGDOC
cp -ra COPYING* README.md docs/* examples/ $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
rm -f $PKGDOC/INSTALL.txt

View File

@ -1,12 +1,12 @@
PRGNAM="lazarus"
VERSION="2.0.12"
VERSION="2.2.6"
HOMEPAGE="http://www.lazarus.freepascal.org/"
DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-2.0.12.tar.gz \
DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-2.2.6-0.tar.gz \
https://downloads.sourceforge.net/freepascal/fpc-3.2.2.source.tar.gz"
MD5SUM="208dfeb20c528649d2598cc0eb341309 \
MD5SUM="51ca9d8351c368d8c3f7e89734fc17f1 \
e7649ad0fc9230fdd9493a7fcabbd426"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fpc"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"
MAINTAINER="Antonio Leal"
EMAIL="antonioleal@yahoo.com"