1#!/bin/bash
2
3# Assumes that you have downloaded the Tremor CVS snapshot from the
4# Vorbis site and unpacked it (resulting in a directory named Tremor):
5#
6#   http://www.xiph.org/ogg/vorbis/download/tremor_cvs_snapshot.tgz
7#   http://www.xiph.org/ogg/vorbis/download/
8#
9# It make be in a numbered release file by now, so look around the
10# site if you can't find it.
11#
12# You may also need to install libtool to get this to build.
13
14
15cd Tremor || { echo "Tremor directory not found!!"; exit 1; }
16
17./autogen.sh || exit 1
18make || exit 1
19
20echo ""
21
22cp -v .libs/libvorbisidec.a ../libs/linux-libvorbisidec.a || {
23    echo libvorbisidec.a missing; exit 1; }
24
25cp -v ivorbiscodec.h ivorbisfile.h ogg.h os_types.h config_types.h ../libs/ || {
26    echo Not all expected header files present; exit 1; }
27
28make clean >/dev/null 2>&1
29
30echo DONE
31
32