master hovercats/oakiss / repo / gstreamer / build
 1#!/bin/sh -e
 2
 3export DESTDIR="$1"
 4export PKG_CONFIG_PATH=/usr/lib/pkgconfig
 5
 6patch -p1 < 0001-fix-incompatability-with-byacc.patch
 7
 8muon setup \
 9	-Dprefix=/usr \
10	-Dlibexecdir=/usr/lib \
11	-Dbuildtype=release \
12	-Db_colorout=never \
13	-Ddbghelp=disabled \
14	-Dintrospection=disabled \
15	-Dexamples=disabled \
16	-Ddoc=disabled \
17	-Dtests=disabled \
18	-Ddefault_library=shared \
19	build
20
21samu -C build
22muon -C build install
23
24# Compress manpages
25find "$1/usr/share/man" -type f -exec gzip -n -9 {} +