Dialog: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-
|-
!Download Source:
!Download Source:
| http://hightek.org/dialog/dialog-{{Dialog-Version}}.tar.gz
| ftp://ftp.invisible-island.net/dialog/dialog-{{Dialog-Version}}.tgz
|}
|}


Line 14: Line 14:


Compile the package:
Compile the package:
   
 
  ./configure --prefix=/usr \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
  make
  make


Install the package:
Install the package


  make install
  make install &&
chmod -v 755 /usr/lib/libdialog.so.*.*.*


== Multilib ==
== Multilib ==
Line 26: Line 29:


Compile the package:
Compile the package:
make CC="gcc ${BUILD32}"


Install the package:
export USE_ARCH=32 &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make


  make install
Install the package
 
  make install &&
chmod -v 755 /usr/lib/libdialog.so.*.*.* &&
unset USE_ARCH


=== N32 ===
=== N32 ===
Line 37: Line 45:
Compile the package:
Compile the package:


  make CC="gcc ${BUILDN32}" LIBDIR=/usr/lib32
  export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make


Install the package:
Install the package


  make LIBDIR=/usr/lib32 install
  make install &&
chmod -v 755 /usr/lib32/libdialog.so.*.*.* &&
unset USE_ARCH


=== 64Bit ===
=== 64Bit ===
Line 47: Line 60:
Compile the package:
Compile the package:


  make CC="gcc ${BUILD64}" LIBDIR=/usr/lib64
  export USE_ARCH=64 &&
CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make


Install the package:
Install the package
 
make install &&
chmod -v 755 /usr/lib64/libdialog.so.*.*.* &&
unset USE_ARCH
 
= Contents =
 
{| style="text-align: left;"
|-valign="top"
! Installed Programs:
| dialog, dialog-config
|-valign="top"
! Installed Libraries:
| libdialog.{a,la,so*}
|-valign="top"
! Installed Directories:
| None
|}


make LIBDIR=/usr/lib64 install
[[Category:General Utilities]]

Latest revision as of 13:54, 19 March 2009

Download Source: ftp://ftp.invisible-island.net/dialog/dialog-1.1-20080819.tgz

Introduction to Dialog

Dialog is a utility to create nice user interfaces to shell scripts, or other scripting languages, such as perl. It is non-graphical (it uses curses) so it can be run in the console or an xterm.

Project Homepage: http://hightek.org/dialog

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
chmod -v 755 /usr/lib/libdialog.so.*.*.*

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
chmod -v 755 /usr/lib/libdialog.so.*.*.* &&
unset USE_ARCH

N32

Compile the package:

export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
chmod -v 755 /usr/lib32/libdialog.so.*.*.* &&
unset USE_ARCH

64Bit

Compile the package:

export USE_ARCH=64 &&
CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-nls --with-ncurses --with-libtool --enable-widec &&
make

Install the package

make install &&
chmod -v 755 /usr/lib64/libdialog.so.*.*.* &&
unset USE_ARCH

Contents

Installed Programs: dialog, dialog-config
Installed Libraries: libdialog.{a,la,so*}
Installed Directories: None
Retrieved from "?title=Dialog&oldid=17225"