aboutsummaryrefslogtreecommitdiff
path: root/repos/core/libressl/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-12-18 16:56:21 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-12-18 16:56:21 +0000
commit407be9ff4c22fdaf6d7b7f1a8fe1e4dfa3bc9ec0 (patch)
tree908ec1b6aab98ca67283800abe4663de59c8bf23 /repos/core/libressl/abuild
parentfa5b5ad9c899d516a033bfe4ea87701ad05bf7f2 (diff)
downloadalicelinux-407be9ff4c22fdaf6d7b7f1a8fe1e4dfa3bc9ec0.tar.gz
alicelinux-407be9ff4c22fdaf6d7b7f1a8fe1e4dfa3bc9ec0.zip
libressl: static build
Diffstat (limited to 'repos/core/libressl/abuild')
-rw-r--r--repos/core/libressl/abuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/repos/core/libressl/abuild b/repos/core/libressl/abuild
index 531856e2..db486ad0 100644
--- a/repos/core/libressl/abuild
+++ b/repos/core/libressl/abuild
@@ -1,8 +1,19 @@
name=libressl
version=4.2.1
-release=1
+release=2
source="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${name}-${version}.tar.gz"
+keep_static=1
-postbuild() {
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-static \
+ --enable-shared
+ make
+ make DESTDIR=$PKG install
+ make clean
+ make LDFLAGS="-all-static"
+ make DESTDIR=$PKG install
rm $PKG/etc/ssl/cert.pem
}