Difference between revisions of "S-Lang"

From CBLFS
Jump to navigationJump to search
m
m
 
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://space.mit.edu/pub/davis/slang/v{{S-Lang-Version}}/slang-{{S-Lang-Version2}}.tar.bz2
+
| ftp://space.mit.edu/pub/davis/slang/v{{S-Lang-Version2}}/slang-{{S-Lang-Version}}.tar.bz2
 
|}
 
|}
  
Line 26: Line 26:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version2}}
+
  chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 42: Line 42:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version2}}
+
  chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version}}
  
 
=== N32 ===
 
=== N32 ===
Line 56: Line 56:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib32/libslang.so.{{S-Lang-Version2}}
+
  chmod -v 755 /usr/lib32/libslang.so.{{S-Lang-Version}}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 70: Line 70:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib64/libslang.so.{{S-Lang-Version2}}
+
  chmod -v 755 /usr/lib64/libslang.so.{{S-Lang-Version}}
  
 
= Contents =
 
= Contents =

Latest revision as of 22:25, 10 March 2009

Download Source: ftp://space.mit.edu/pub/davis/slang/v2.2/slang-2.2.1.tar.bz2

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.
Retrieved from "?title=S-Lang&oldid=17071"