build-openssl.sh

build-openssl.sh
#!/bin/bash
set -x
. $(dirname $0)/config
 
cd $SOURCES
wget -c http://www.openssl.org/source/openssl-1.0.0a.tar.gz
 
cd $BUILD
 
rm -rf openssl-1.0.0a
tar -xf $SOURCES/openssl-1.0.0a.tar.gz
cd openssl-1.0.0a
 
CC=$CROSS_COMPILE-gcc \
RANLIB=$CROSS_COMPILE-ranlib \
./Configure linux-elf \
	enable-aes \
	no-asm \
	shared \
	--prefix=/usr
 
make 
 
make INSTALL_PREFIX=$STAGING install
ostatnio zmienione: 2011/08/19 13:50