blob: b993312420dba38677a3a34633aba2fef75ab893 (
plain)
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
|
#!/bin/sh
# Unzips, prepares and patches the domc and depending libraries
# for use with the rtfx.
#
# The tar files should be in the 'files' directory as should the
# patches.
cd `dirname $0`
# Delete the original directories
rm -rf domc || exit 1
rm -rf libmba || exit 1
# Unzip the libraries
echo "untarring dist files..."
tar -zxf files/domc-*.tar.gz || exit 1
tar -zxf files/libmba-*.tar.gz || exit 1
# Rename the directories
echo "renaming directories..."
mv domc-* domc || exit 1
mv libmba-* libmba || exit 1
# Patch the directories
echo "patching the distributions..."
patch -p0 < files/domc-library.patch
patch -p0 < files/libmba-library.patch
|