2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/core/openssl/build

32 lines
458 B
Plaintext
Raw Normal View History

2021-07-07 14:24:26 -06:00
#!/bin/sh -e
./Configure \
--prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
2021-07-10 14:51:34 -06:00
no-unit-test \
shared \
linux-x86_64
2021-07-07 14:24:26 -06:00
make depend
2021-07-15 06:02:11 -06:00
make
make DESTDIR="$1" \
install_sw \
install_ssldirs \
install_man_docs
2021-07-07 14:24:26 -06:00
cp -f update-certdata.sh "$1/etc/ssl"
2021-07-10 14:51:34 -06:00
# Libretls is LibreSSL's libtls library for OpenSSL.
(
cd libretls
./configure \
--prefix=/usr \
--with-openssl="$1/usr"
make
2021-07-15 06:02:11 -06:00
make install
2021-07-10 14:51:34 -06:00
)