LessTif

From CBLFS
Revision as of 03:30, 17 November 2006 by Spyro (talk | contribs)
Jump to navigationJump to search
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