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