Difference between revisions of "LessTif"
From CBLFS
Jump to navigationJump to search (→Multilib) |
|||
Line 33: | Line 33: | ||
Compile the package: | 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 \ | 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 && | ||
Line 39: | Line 42: | ||
Install the package | Install the package | ||
− | make rootdir=/usr/share/doc/lesstif-0.94.4 install | + | make rootdir=/usr/share/doc/lesstif-0.94.4 install && |
+ | mv -v /usr/bin/motif-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 45: | Line 49: | ||
Compile the package: | 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 \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib32 --disable-debug \ | --libdir=/usr/lib32 --disable-debug \ | ||
Line 52: | Line 59: | ||
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.94.4 libdir=/usr/lib32 install && |
+ | mv -v /usr/bin/motif-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 58: | Line 66: | ||
Compile the package: | 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 \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
--libdir=/usr/lib64 --disable-debug \ | --libdir=/usr/lib64 --disable-debug \ | ||
Line 65: | Line 76: | ||
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.94.4 libdir=/usr/lib64 install && |
+ | mv -v /usr/bin/motif-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/motif-config |
Revision as of 15:30, 4 November 2006
Download Source: | http://prdownloads.sourceforge.net/lesstif/lesstif-0.94.4.tar.bz2 |
---|
Contents
Dependencies
Required
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr --disable-debug \ --enable-production --with-xdnd && make rootdir=/usr/share/doc/lesstif-0.94.4
Install the package
make rootdir=/usr/share/doc/lesstif-0.94.4 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.94.4
Install the package
make rootdir=/usr/share/doc/lesstif-0.94.4 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.94.4 libdir=/usr/lib32
Install the package
make rootdir=/usr/share/doc/lesstif-0.94.4 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.94.4 libdir=/usr/lib64
Install the package
make rootdir=/usr/share/doc/lesstif-0.94.4 libdir=/usr/lib64 install && mv -v /usr/bin/motif-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/motif-config