From 1813538d9ef6dec531327313d784cac86bc61d0e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 6 Jan 2018 12:19:42 -0500 Subject: development/blassic: Updated for version 0.10.3, new maintainer. Signed-off-by: B. Watson --- development/blassic/README | 8 ++++++++ development/blassic/blassic.SlackBuild | 32 ++++++++++++++++++++------------ development/blassic/blassic.info | 10 +++++----- 3 files changed, 33 insertions(+), 17 deletions(-) (limited to 'development/blassic') diff --git a/development/blassic/README b/development/blassic/README index 51d2b5ddba..06a30cd8f8 100644 --- a/development/blassic/README +++ b/development/blassic/README @@ -1,3 +1,5 @@ +blassic (BASIC interpreter) + Blassic is a classic Basic interpreter. The line numbers are mandatory, and it has PEEK & POKE. The main goal is to execute programs written in old interpreters, even those that use peculiar @@ -5,3 +7,9 @@ control flow constructs or automodifiable code. However, it can be used as a scripting language, and has some not-so-classic instructions. It has graphics modes that are compatible with some classic systems and user defined. + +Blassic ships with many example programs, which are installed in +/usr/share/blassic/examples/ + +There is no documentation on the Blassic language included in the +package. Full docs can be found on http://blassic.net/ diff --git a/development/blassic/blassic.SlackBuild b/development/blassic/blassic.SlackBuild index 76b110ff07..496a12596c 100644 --- a/development/blassic/blassic.SlackBuild +++ b/development/blassic/blassic.SlackBuild @@ -2,16 +2,28 @@ # Slackware build script for blassic -# Written by Luis Henrique +# Originally written by Luis Henrique + +# Now maintained by B. Watson + +# Original version of this script had no license. Modified version +# licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ +# for details. + +# 20180105 bkw: +# - take over maintenance +# - update for 0.10.3 +# - don't install INSTALL or 0-byte ChangeLog in doc dir +# - i486 => i586 PRGNAM=blassic -VERSION=${VERSION:-0.10.2} +VERSION=${VERSION:-0.10.3} 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 @@ -22,8 +34,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,15 +74,11 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +# ChangeLog is 0 bytes in 0.10.3, don't bother +cp -a AUTHORS COPYING NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/blassic/blassic.info b/development/blassic/blassic.info index 6f97ef2971..fb19319009 100644 --- a/development/blassic/blassic.info +++ b/development/blassic/blassic.info @@ -1,10 +1,10 @@ PRGNAM="blassic" -VERSION="0.10.2" +VERSION="0.10.3" HOMEPAGE="http://blassic.net" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/blassic-0.10.2.tgz" -MD5SUM="37534abbdbe5bac7b7fc00dbe119df92" +DOWNLOAD="http://blassic.net/bin/blassic-0.10.3.tgz" +MD5SUM="d9188387a84d2e5dd8b2cbef1704de3d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Luis Henrique" -EMAIL="lmello.009@gmail.com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" -- cgit v1.2.3-65-gdbad