aboutsummaryrefslogtreecommitdiff
path: root/libressl/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'libressl/abuild')
-rw-r--r--libressl/abuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/libressl/abuild b/libressl/abuild
index 531856e2..db486ad0 100644
--- a/libressl/abuild
+++ b/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
}