Difference between revisions of "Beecrypt"

From CBLFS
Jump to navigationJump to search
(If you do not have a multilib system to do the appropriate testing then please do not contribute the section in question. The same holds true for multilib people. Do not contribute non-multilib.)
Line 36: Line 36:
 
  USE_ARCH=32 ./configure --prefix=/usr \
 
  USE_ARCH=32 ./configure --prefix=/usr \
 
     --build=${CLFS_TARGET32} &&
 
     --build=${CLFS_TARGET32} &&
  make
+
  make libaltdir=/usr/lib
  
 
Install the package:
 
Install the package:
  
  make install
+
  make libaltdir=/usr/lib install
  
 
=== N32 ===
 
=== N32 ===
Line 50: Line 50:
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
  USE_ARCH=n32 ./configure --prefix=/usr \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
  make
+
  make libaltdir=/usr/lib32
  
 
Install the package:
 
Install the package:
  
  make install
+
  make libaltdir=/usr/lib32 install
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 64: Line 64:
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
  USE_ARCH=64 ./configure --prefix=/usr \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
  make
+
  make libaltdir=/usr/lib64
  
 
Install the package:
 
Install the package:
  
  make install
+
  make libaltdir=/usr/lib64 install
  
 
== Contents ==
 
== Contents ==

Revision as of 16:57, 23 October 2008

Download Source: http://downloads.sourceforge.net/beecrypt/beecrypt-4.2.1.tar.gz

Introduction to Beecrypt

BeeCrypt is an ongoing project to provide a strong and fast cryptography toolkit. Includes entropy sources, random generators, block ciphers, hash functions, message authentication codes, multiprecision integer routines, and public key primitives.

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

Depdencies

Optional

Non-Multilib

Compile the package:

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

Install the package:

make install

Multilib

32Bit

Compile the package:

sed -i '/bc_libalt="64"/d' configure &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
USE_ARCH=32 ./configure --prefix=/usr \
    --build=${CLFS_TARGET32} &&
make libaltdir=/usr/lib

Install the package:

make libaltdir=/usr/lib install

N32

Compile the package:

sed -i '/bc_libalt="64"/d' configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
USE_ARCH=n32 ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make libaltdir=/usr/lib32

Install the package:

make libaltdir=/usr/lib32 install

64Bit

Compile the package:

sed -i '/bc_libalt="64"/d' configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
USE_ARCH=64 ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make libaltdir=/usr/lib64

Install the package:

make libaltdir=/usr/lib64 install

Contents

Installed Directories: /usr/include/beecrypt
Installed Libraries: libbeecrypt.{a,so}

Short Descriptions

libbeecrypt.{a,so} is a library that contains functions for strong and fast cryptography.