mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-22 05:56:19 +00:00
36 lines
572 B
Bash
Executable File
36 lines
572 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Build with CC for clang compatibility.
|
|
# If CC is unset, GCC is forced.
|
|
export CC="${CC:-cc}"
|
|
|
|
./Configure \
|
|
--prefix=/usr \
|
|
--openssldir=/etc/ssl \
|
|
--libdir=lib \
|
|
no-unit-test \
|
|
shared \
|
|
linux-x86_64
|
|
|
|
make depend
|
|
make V=1
|
|
|
|
make DESTDIR="$1" \
|
|
install_sw \
|
|
install_ssldirs \
|
|
install_man_docs
|
|
|
|
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
|
|
)
|