diff options
Diffstat (limited to 'development')
-rw-r--r-- | development/fpc/README | 12 | ||||
-rw-r--r-- | development/fpc/fpc.SlackBuild | 30 | ||||
-rw-r--r-- | development/fpc/fpc.info | 18 |
3 files changed, 30 insertions, 30 deletions
diff --git a/development/fpc/README b/development/fpc/README index 0d421077da..1261620218 100644 --- a/development/fpc/README +++ b/development/fpc/README @@ -1,6 +1,6 @@ -Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. -It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, -PowerPC64, Sparc, ARM. The discontinued 1.0 version also supports the -Motorola 680x0. The following operating systems are supported: Linux, FreeBSD, -Mac OS X/Darwin, DOS, Win32, Win64, WinCE, OS/2, Netware (libc and classic) -and MorphOS. +Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. +It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, +PowerPC64, Sparc, ARM. The discontinued 1.0 version also supports the +Motorola 680x0. The following operating systems are supported: Linux, FreeBSD, +Mac OS X/Darwin, DOS, Win32, Win64, WinCE, OS/2, Netware (libc and classic) +and MorphOS. diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild index bee656a10c..a10a526e3e 100644 --- a/development/fpc/fpc.SlackBuild +++ b/development/fpc/fpc.SlackBuild @@ -24,14 +24,14 @@ # Modified by the SlackBuilds.org project. PRGNAM=fpc -VERSION=${SRCVER:-3.0.0} -BINVERSION=${BINVERSION:-2.6.4} +VERSION=${VERSION:-3.0.2} +BINVERSION=${BINVERSION:-3.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,16 +42,17 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - ARCH=i386 - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - ARCH=x86_64 - LIBDIRSUFFIX="64" -else - printf "$ARCH is not supported...\n" - exit 1 -fi +case "$ARCH" in + i?86) ARCH="i386" + LIBDIRSUFFIX="" + ;; + x86_64) ARCH="x86_64" + LIBDIRSUFFIX="64" + ;; + *) printf "$ARCH is not supported...\n" + exit 1 + ;; +esac set -e @@ -87,7 +88,6 @@ export PATH="$TMP/$PRGNAM-$BINVERSION/bin":$PATH echo $PATH cd $TMP/${PRGNAM}build-$VERSION/${PRGNAM}build-$VERSION -fpcmake -Tall make build NOGDB=1 make -j1 NOGDB=1 PREFIX=$PKG/usr install @@ -135,6 +135,6 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/fpc/fpc.info b/development/fpc/fpc.info index 623567d2d7..89c77d0452 100644 --- a/development/fpc/fpc.info +++ b/development/fpc/fpc.info @@ -1,14 +1,14 @@ PRGNAM="fpc" -VERSION="3.0.0" +VERSION="3.0.2" HOMEPAGE="http://www.freepascal.org/" -DOWNLOAD="http://downloads.sourceforge.net/freepascal/fpc-2.6.4.i386-linux.tar \ -http://downloads.sourceforge.net/freepascal/fpcbuild-3.0.0.tar.gz" -MD5SUM="915f799dd58b5429f06a48d4bd84a9c2 \ -bb7d17ef5c7c007466368262c0779cb7" -DOWNLOAD_x86_64="http://downloads.sourceforge.net/freepascal/fpc-2.6.4.x86_64-linux.tar \ -http://downloads.sourceforge.net/freepascal/fpcbuild-3.0.0.tar.gz" -MD5SUM_x86_64="ffc3cae4a72b60efb6873b9ce5c8a0f2 \ -bb7d17ef5c7c007466368262c0779cb7" +DOWNLOAD="http://downloads.sourceforge.net/freepascal/fpc-3.0.2.i386-linux.tar \ + http://downloads.sourceforge.net/freepascal/fpcbuild-3.0.2.tar.gz" +MD5SUM="a58c3a2d7f8625d434abe9518e4ca38c \ + c0fc1662dbe45c1e3f66ed780a443849" +DOWNLOAD_x86_64="http://downloads.sourceforge.net/freepascal/fpc-3.0.2.x86_64-linux.tar \ + http://downloads.sourceforge.net/freepascal/fpcbuild-3.0.2.tar.gz" +MD5SUM_x86_64="e5721c1843cff301c5b46abfee17c890 \ + c0fc1662dbe45c1e3f66ed780a443849" REQUIRES="" MAINTAINER="Andre Barboza" EMAIL="bmg.andre@gmail.com" |