banan-os/ports/openssl/build.sh

16 lines
514 B
Bash
Raw Normal View History

2024-08-22 14:26:54 +03:00
#!/bin/bash ../install.sh
NAME='openssl'
VERSION='3.3.1'
DOWNLOAD_URL="https://github.com/openssl/openssl/releases/download/openssl-$VERSION/openssl-$VERSION.tar.gz#777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e"
DEPENDENCIES=('zlib')
configure() {
./Configure --prefix=/usr --openssldir=/etc/ssl -DOPENSSL_USE_IPV6=0 no-asm no-tests no-threads banan_os-generic zlib
}
install() {
make install_sw "DESTDIR=$BANAN_SYSROOT" || exit 1
make install_ssldirs "DESTDIR=$BANAN_SYSROOT" || exit 1
}