1 # Description: Secure Sockets Layer and Transport Layer Security tools
2 # URL: http://www.openssl.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
9 source=(http://www.openssl.org/source/$name-$version.tar.gz \
14 export MAKEFLAGS="$MAKEFLAGS -j1"
16 # Removed armv7 optimization to build armv5 binaries
17 sed "s|-march=armv7-a||g" -i config
19 ./config --prefix=/usr --openssldir=/etc/ssl shared
20 sed -i "s|-O3|$CFLAGS|" Makefile
22 make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install
23 find $PKG -name "*fips*" -delete
25 install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert