APR

From CBLFS
Revision as of 08:45, 25 July 2009 by Eric (talk | contribs) (add package introduction)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: ftp://ftp.oregonstate.edu/pub/apache/apr/apr-1.4.6.tar.bz2


Introduction to APR

The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.

Project Homepage: http://apr.apache.org/

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr \
    --with-installbuilddir=/usr/lib/apr-1 &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr \
    --with-installbuilddir=/usr/lib/apr-1 &&
make

Install the package:

make install &&
mv -v /usr/bin/apr-1-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 \
    --with-installbuilddir=/usr/lib32/apr-1 &&
make

Install the package:

make install &&
mv -v /usr/bin/apr-1-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --with-installbuilddir=/usr/lib64/apr-1 &&
make

Install the package:

make install &&
mv -v /usr/bin/apr-1-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/apr-1-config

Contents

Installed Programs: apr-1-config
Installed Libraries: libapr-1.{so,la,a}
Installed Directory: /usr/lib/apr-1