1#!/bin/sh -e
2
3export PKG_CONFIG_PATH=/usr/lib/pkgconfig
4
5: > build-aux/missing
6
7./configure \
8 --prefix=/usr \
9 --disable-nls \
10 --with-nettle-mini \
11 --with-included-libtasn1 \
12 --with-included-unistring \
13 --enable-static \
14 --without-p11-kit
15
16make
17make DESTDIR="$1" install
18
19# Compress manpages
20find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
21
22rm -rf \
23 "$1/usr/share/info" \
24 "$1/usr/share/doc"