diff options
Diffstat (limited to 'games/tintin')
-rw-r--r-- | games/tintin/README | 23 | ||||
-rw-r--r-- | games/tintin/tintin.SlackBuild | 22 |
2 files changed, 28 insertions, 17 deletions
diff --git a/games/tintin/README b/games/tintin/README index d91f1ab991..7618409746 100644 --- a/games/tintin/README +++ b/games/tintin/README @@ -1,14 +1,15 @@ -TinTin++ is a terminal-based MUD/MOO/MUSH client designed to be light -and extensible. It includes a custom scripting language which supports -event triggers, timers, aliases, and speedwalking among other features. It -also supports the inclusion of external scripting languages such as perl, -python, or ruby via system calls. +TinTin++ is a terminal-based MUD/MOO/MUSH client designed to be +light and extensible. It includes a custom scripting language which +supports event triggers, timers, aliases, and speedwalking among +other features. It also supports the inclusion of external scripting +languages such as perl, python, or ruby via system calls. -TinTin++ supports MCCP (Mud Client Compression Protocol), MMCP (Mud Master -Chat Protocol), xterm 256 colors, most TELNET options used by MUDs, as -well as those required to login via telnet on Linux / Mac OS X servers, -and an auto mapper with a VT100 map display. Being a console client -TinTin++ works with most screen readers, and its non graphical command -interface makes the client particularly screen reader / blind friendly. +TinTin++ supports MCCP (Mud Client Compression Protocol), MMCP (Mud +Master Chat Protocol), xterm 256 colors, most TELNET options used +by MUDs, as well as those required to login via telnet on Linux / +Mac OS X servers, and an auto mapper with a VT100 map display. Being +a console client TinTin++ works with most screen readers, and its +non graphical command interface makes the client particularly screen +reader / blind friendly. Note: Executable is installed as /usr/bin/tt++ by default. diff --git a/games/tintin/tintin.SlackBuild b/games/tintin/tintin.SlackBuild index 7d345332db..e31a542721 100644 --- a/games/tintin/tintin.SlackBuild +++ b/games/tintin/tintin.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for tintin++ @@ -21,26 +21,36 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=tintin VERSION=${VERSION:-2.01.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + 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" @@ -96,4 +106,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |