S-Lang

From CBLFS
Jump to: navigation, search
Download Source: ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.1.tar.bz2

Contents

Introduction to S-Lang

S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software. It provides facilities required by interactive applications such as display/screen management, keyboard input, keymaps, and so on. The most exciting feature of the library is the slang interpreter that may be easily embedded into a program to make it extensible.

Project Homepage: http://www.s-lang.org

Dependencies

Optional

Non-Multilib

Compile the package:

LDFLAGS=-lncurses ./configure --prefix=/usr --sysconfdir=/etc --with-readline=gnu &&
make &&
make elf

Install the package

make install-elf &&
chmod -v 755 /usr/lib/libslang.so.2.2.1

Multilib

32Bit

Compile the package:

LDFLAGS=-lncurses CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
    --with-readline=gnu &&
make &&
make elf

Install the package

make install-elf &&
chmod -v 755 /usr/lib/libslang.so.2.2.1

N32

Compile the package:

LDFLAGS=-lncurses CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib32 --with-readline=gnu &&
make &&
make elf

Install the package

make install-elf &&
chmod -v 755 /usr/lib32/libslang.so.2.2.1

64Bit

Compile the package:

LDFLAGS=-lncurses CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --with-readline=gnu &&
make &&
make elf

Install the package

make install-elf &&
chmod -v 755 /usr/lib64/libslang.so.2.2.1

Contents

Installed Programs: slsh
Installed Libraries: libslang.{so,a} and numerous support modules
Installed Directories: /usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh

Short Descriptions

slsh is a simple program for interpreting S-Lang scripts. It supports dynamic loading of S-Lang modules and includes a Readline interface for interactive use.
Personal tools