diff options
author | B. Watson <yalhcru@gmail.com> | 2018-01-06 12:19:42 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-10 23:55:54 +0700 |
commit | 1813538d9ef6dec531327313d784cac86bc61d0e (patch) | |
tree | 02b9246ee07361a3d4c786ee043a7d8399676c7c | |
parent | a65094d1c012322d3ec0b3be67a0c19597ab470a (diff) |
development/blassic: Updated for version 0.10.3, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | development/blassic/README | 8 | ||||
-rw-r--r-- | development/blassic/blassic.SlackBuild | 32 | ||||
-rw-r--r-- | development/blassic/blassic.info | 10 |
3 files changed, 33 insertions, 17 deletions
diff --git a/development/blassic/README b/development/blassic/README index 51d2b5ddbaf3..06a30cd8f847 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 76b110ff0793..496a12596c62 100644 --- a/development/blassic/blassic.SlackBuild +++ b/development/blassic/blassic.SlackBuild @@ -2,16 +2,28 @@ # Slackware build script for blassic -# Written by Luis Henrique <lmello.009@gmail.com> +# Originally written by Luis Henrique <email removed> + +# Now maintained by B. Watson <yalhcru@gmail.com> + +# 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 6f97ef297197..fb1931900923 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" |