1#!/bin/sh -e
2
3./configure \
4 --prefix=/usr \
5 --disable-examples \
6 --disable-python-bindings \
7 --enable-lib-only
8
9make
10make DESTDIR="$1" install
11
12# Compress manpages
13find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
14
15rm -rf "$1/usr/share/doc"