Difference between revisions of "S-Lang"

From CBLFS
Jump to navigationJump to search
 
m
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://gd.tuwien.ac.at/editors/davis/slang/v2.0/slang-2.0.6.tar.bz2
+
| ftp://space.mit.edu/pub/davis/slang/v{{S-Lang-Version2}}/slang-{{S-Lang-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|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. |http://www.s-lang.org}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 17: Line 19:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --sysconfdir=/etc --with-readline=gnu &&
+
  LDFLAGS=-lncurses ./configure --prefix=/usr --sysconfdir=/etc --with-readline=gnu &&
 
  make &&
 
  make &&
 
  make elf
 
  make elf
Line 24: Line 26:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib/libslang.so.2.0.6
+
  chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 32: Line 34:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
+
  LDFLAGS=-lncurses CC="gcc ${BUILD32}" ./configure --prefix=/usr --sysconfdir=/etc \
 
     --with-readline=gnu &&
 
     --with-readline=gnu &&
 
  make &&
 
  make &&
Line 40: Line 42:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib/libslang.so.2.0.6
+
  chmod -v 755 /usr/lib/libslang.so.{{S-Lang-Version}}
  
 
=== N32 ===
 
=== N32 ===
Line 46: Line 48:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
+
  LDFLAGS=-lncurses CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sysconfdir=/etc \
 
     --libdir=/usr/lib32 --with-readline=gnu &&
 
     --libdir=/usr/lib32 --with-readline=gnu &&
 
  make &&
 
  make &&
Line 54: Line 56:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib32/libslang.so.2.0.6
+
  chmod -v 755 /usr/lib32/libslang.so.{{S-Lang-Version}}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 60: Line 62:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \
+
  LDFLAGS=-lncurses CC="gcc ${BUILD64}" ./configure --prefix=/usr --sysconfdir=/etc \
 
     --libdir=/usr/lib64 --with-readline=gnu &&
 
     --libdir=/usr/lib64 --with-readline=gnu &&
 
  make &&
 
  make &&
Line 68: Line 70:
  
 
  make install-elf &&
 
  make install-elf &&
  chmod -v 755 /usr/lib64/libslang.so.2.0.6
+
  chmod -v 755 /usr/lib64/libslang.so.{{S-Lang-Version}}
 +
 
 +
= Contents =
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| slsh
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libslang.{so,a} and numerous support modules
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/lib/slang, /usr/share/doc/slang and /usr/share/slsh
 +
|}
 +
 
 +
=== Short Descriptions ===
 +
 
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! 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.
 +
|-valign="top"
 +
|}
 +
 
 +
[[Category:General Libs]]

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"