aboutsummaryrefslogtreecommitdiff
path: root/libressl/abuild
blob: db486ad053d1a406ef55e9e45f2d470e9f8eee65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name=libressl
version=4.2.1
release=2
source="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${name}-${version}.tar.gz"
keep_static=1

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
}