Difference between revisions of "Libmcrypt"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m |
(libmcrypt.a & delete useless directory) |
||
(One intermediate revision by one other user not shown) | |||
Line 17: | Line 17: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix=/usr && | + | ./configure --prefix=/usr --enable-static && |
make | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | rmdir /usr/lib/libmcrypt | ||
== Multilib == | == Multilib == | ||
Line 30: | Line 31: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static && | |
+ | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | rmdir /usr/lib/libmcrypt && | ||
+ | mv -v /usr/bin/libmcrypt-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 40: | Line 44: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | |
+ | --libdir=/usr/lib32 --enable-static && | ||
+ | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | rmdir /usr/lib32/libmcrypt && | ||
+ | mv -v /usr/bin/libmcrypt-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 50: | Line 58: | ||
Compile the package: | Compile the package: | ||
− | + | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | |
+ | --libdir=/usr/lib64 --enable-static && | ||
+ | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | rmdir /usr/lib64/libmcrypt && | ||
+ | mv -v /usr/bin/libmcrypt-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/libmcrypt-config | ||
+ | |||
+ | == Configuration Information == | ||
+ | |||
+ | {| | ||
+ | |- | ||
+ | |''--enable-static:'' This is required to build the static library '''libmcrypt.a'''. | ||
+ | |} | ||
+ | |||
+ | == Command Explanations == | ||
+ | |||
+ | '''rmdir /usr/lib*/libmcrypt''': This command removes an empty directory which is created during installation. | ||
== Contents == | == Contents == |
Latest revision as of 13:52, 14 November 2011
Download Source: | http://downloads.sourceforge.net/mcrypt/libmcrypt-2.5.8.tar.bz2 |
---|
Contents
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 --enable-static && make
Install the package:
make install && rmdir /usr/lib/libmcrypt
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static && make
Install the package:
make install && rmdir /usr/lib/libmcrypt && mv -v /usr/bin/libmcrypt-config{,-32}
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ --libdir=/usr/lib32 --enable-static && make
Install the package:
make install && rmdir /usr/lib32/libmcrypt && mv -v /usr/bin/libmcrypt-config{,-n32}
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr \ --libdir=/usr/lib64 --enable-static && make
Install the package:
make install && rmdir /usr/lib64/libmcrypt && mv -v /usr/bin/libmcrypt-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/libmcrypt-config
Configuration Information
--enable-static: This is required to build the static library libmcrypt.a. |
Command Explanations
rmdir /usr/lib*/libmcrypt: This command removes an empty directory which is created during installation.
Contents
Installed Directories: | /usr/include/mutils |
---|---|
Installed Programs: | libmcrypt-config |
Installed Libraries: | libmcrypt.{a,la,so} |