30 lines
803 B
Plaintext
Raw Normal View History

2016-06-02 11:17:09 +02:00
# Description: Secure Sockets Layer and Transport Layer Security tools
# URL: http://www.openssl.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=openssl
2019-07-12 19:16:36 +02:00
version=1.1.1c
2016-08-09 16:26:34 +00:00
release=1
2016-06-02 11:17:09 +02:00
source=(http://www.openssl.org/source/$name-$version.tar.gz \
mksslcert.sh)
build() {
cd $name-$version
export MAKEFLAGS="$MAKEFLAGS -j1"
./config --prefix=/usr \
--openssldir=/etc/ssl \
shared
sed -e "s|-O3|$CFLAGS|" -e "s|\-mcpu=cortex-a7||" -e "s|-march=armv7-a||g" -i Makefile
make depend
make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/share/man MANSUFFIX=ssl install
find $PKG -name "*fips*" -delete
chmod -R +w $PKG
install -D -m 755 $SRC/mksslcert.sh $PKG/usr/bin/mksslcert
}