Difference between revisions of "LessTif"

From CBLFS
Jump to navigationJump to search
(Multilib)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/lesstif/lesstif-0.94.4.tar.bz2
+
| http://prdownloads.sourceforge.net/lesstif/lesstif-0.95.0.tar.bz2
 
|}
 
|}
  
Line 21: Line 21:
 
  ./configure --prefix=/usr --disable-debug \
 
  ./configure --prefix=/usr --disable-debug \
 
     --enable-production --with-xdnd &&
 
     --enable-production --with-xdnd &&
  make rootdir=/usr/share/doc/lesstif-0.94.4
+
  make rootdir=/usr/share/doc/lesstif-0.95.0
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 install
+
  make rootdir=/usr/share/doc/lesstif-0.95.0 install
  
 
== Multilib ==
 
== Multilib ==
Line 38: Line 38:
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-debug \
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-debug \
 
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib &&
 
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib &&
  make rootdir=/usr/share/doc/lesstif-0.94.4
+
  make rootdir=/usr/share/doc/lesstif-0.95.0
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 install &&
+
  make rootdir=/usr/share/doc/lesstif-0.95.0 install &&
 
  mv -v /usr/bin/motif-config{,-32}
 
  mv -v /usr/bin/motif-config{,-32}
  
Line 55: Line 55:
 
     --libdir=/usr/lib32 --disable-debug \
 
     --libdir=/usr/lib32 --disable-debug \
 
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib32 &&
 
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib32 &&
  make rootdir=/usr/share/doc/lesstif-0.94.4 libdir=/usr/lib32
+
  make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib32
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 libdir=/usr/lib32 install &&
+
  make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib32 install &&
 
  mv -v /usr/bin/motif-config{,-n32}
 
  mv -v /usr/bin/motif-config{,-n32}
  
Line 72: Line 72:
 
     --libdir=/usr/lib64 --disable-debug \
 
     --libdir=/usr/lib64 --disable-debug \
 
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib64 &&
 
     --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib64 &&
  make rootdir=/usr/share/doc/lesstif-0.94.4 libdir=/usr/lib64
+
  make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib64
  
 
Install the package
 
Install the package
  
  make rootdir=/usr/share/doc/lesstif-0.94.4 libdir=/usr/lib64 install &&
+
  make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib64 install &&
 
  mv -v /usr/bin/motif-config{,-64} &&
 
  mv -v /usr/bin/motif-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/motif-config
 
  ln -sfv multiarch_wrapper /usr/bin/motif-config

Revision as of 03:30, 17 November 2006

Download Source: http://prdownloads.sourceforge.net/lesstif/lesstif-0.95.0.tar.bz2

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --disable-debug \
    --enable-production --with-xdnd &&
make rootdir=/usr/share/doc/lesstif-0.95.0

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 install

Multilib

32Bit

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --disable-debug \
    --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib &&
make rootdir=/usr/share/doc/lesstif-0.95.0

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 install &&
mv -v /usr/bin/motif-config{,-32}

N32

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --disable-debug \
    --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib32 &&
make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib32

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib32 install &&
mv -v /usr/bin/motif-config{,-n32}

64Bit

Compile the package:

sed -i -e 's:-L$L/lib:-L@libdir@:' \
       -e 's:-L/usr/X11R6/lib:$XL:' \
       scripts/motif-config.in &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 --disable-debug \
    --enable-production --with-xdnd --x-libraries=${XORG_PREFIX}/lib64 &&
make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib64

Install the package

make rootdir=/usr/share/doc/lesstif-0.95.0 libdir=/usr/lib64 install &&
mv -v /usr/bin/motif-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/motif-config