Popt

From CBLFS
Revision as of 19:47, 1 October 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://rpm.net.in/mirror/rpm-4.4.x/popt-1.10.4.tar.gz

Dependencies

Non-Multilib

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e "/*origOptString ==/c 0)" popt.c &&
autoreconf -f -i &&
sed -i "/MARK64=/s/^x/# &/" configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install