master hovercats/oakiss / repo / libressl / build
 1#!/bin/sh -e
 2
 3./configure \
 4	PROG_LDADD=-all-static \
 5    --prefix=/usr \
 6    --sysconfdir=/etc \
 7    --disable-tests
 8
 9make
10make DESTDIR="$1" install
11
12# Certs is provided elsewhere
13rm -rf "$1/etc/ssl/cert.pem"
14
15# Compress manpages
16find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
17
18# Find and remove symlinks that are now broken
19find "$1/usr/share/man" -type l -exec rm -rf {} +