master hovercats/oakiss / repo / libxml2 / build
 1#!/bin/sh -e
 2
 3: > missing
 4
 5./configure \
 6    --prefix=/usr \
 7    --enable-static \
 8    --with-threads \
 9    --with-history \
10    --without-python \
11    --without-icu \
12    --without-readline \
13    --without-lzma
14
15make
16make DESTDIR="$1" install
17
18# Compress manpages
19find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
20
21# Remove docs
22rm -rf \
23	"$1/usr/share/gtk-doc" \
24	"$1/usr/share/doc"