aboutsummaryrefslogtreecommitdiff
path: root/core/libressl/build
blob: 86ade6232e48e102aa598bdfb98c964153c5ed0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --sysconfdir=/etc

make
make DESTDIR="$1" install

install -Dm 755 update-certdata.sh "$1/etc/ssl"

# Link ca-certificates to cert.pem
ln -sfv ../cert.pem "$1/etc/ssl/certs/ca-certificates.crt"