Libmcrypt: Difference between revisions

From CBLFS
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 30: Line 30:
Compile the package:
Compile the package:


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


Install the package:
Install the package:


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


=== N32 ===
=== N32 ===
Line 40: Line 42:
Compile the package:
Compile the package:


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


Install the package:
Install the package:


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


=== 64Bit ===
=== 64Bit ===
Line 50: Line 55:
Compile the package:
Compile the package:


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


Install the package:
Install the package:


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


== Contents ==
== Contents ==

Revision as of 06:41, 24 February 2009

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}