Libmcrypt

From CBLFS
Revision as of 05:41, 24 February 2009 by Jciccone (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Download Source: http://downloads.sourceforge.net/mcrypt/libmcrypt-2.5.8.tar.bz2

Introduction to Libmcrypt

Libmcrypt is a library which provides a uniform interface to several symmetric encryption algorithms. It is intended to have a simple interface to access encryption algorithms in ofb, cbc, cfb, and ecb modes.

Project Homepage: http://mcrypt.sourceforge.net/


Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

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

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

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

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

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

Contents

Installed Directories: /usr/include/mutils
Installed Programs: libmcrypt-config
Installed Libraries: libmcrypt.{a,la,so}