2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/core/openssl/build
2021-07-10 23:51:34 +03:00

28 lines
435 B
Bash
Executable File

#!/bin/sh -e
./Configure \
--prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
no-unit-test \
shared \
linux-x86_64
make depend
make
make DESTDIR="$1" install_sw install_ssldirs
cp -f update-certdata.sh "$1/etc/ssl"
# Libretls is LibreSSL's libtls library for OpenSSL.
(
cd libretls
./configure \
--prefix=/usr \
--with-openssl="$1/usr"
make
make DESTDIR="$1" install
)