1#!/bin/sh -e
2
3./configure \
4 --prefix=/usr \
5 --disable-shared \
6 --disable-rpath \
7 --enable-install-static-library \
8 --with-static-linked-ext \
9 --without-openssl
10
11make
12make DESTDIR="$1" install
13
14# Compress manpages
15find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
16
17rm -rf "$1/usr/share/doc"