3 |
# This script is primarily made for the linuxsampler build server. It |
# This script is primarily made for the linuxsampler build server. It |
4 |
# copies the files created by the previous Max OS X build steps, and |
# copies the files created by the previous Max OS X build steps, and |
5 |
# creates universal binaries from the i686, x86_64 and powerpc |
# creates universal binaries from the i686, x86_64 and powerpc |
6 |
# files. Finally, it packs everything in a tar.bz2 archive. |
# files. Then it packs all components as a .pkg Mac installer package and |
7 |
|
# finally it wraps everything in a tar.bz2 archive. |
8 |
|
|
9 |
LIPO=x86_64-apple-darwin9-lipo |
LIPO=x86_64-apple-darwin9-lipo |
10 |
P=/home/persson/mac |
P=/home/persson/mac |
153 |
for f in $gigtools_bins; do |
for f in $gigtools_bins; do |
154 |
cp $D/LinuxSampler/$f $dlib |
cp $D/LinuxSampler/$f $dlib |
155 |
done |
done |
156 |
|
dlib="components/$component.pkg/share/man/man1" |
157 |
|
mkdir -p $dlib |
158 |
|
for f in $gigtools_bins; do |
159 |
|
cp $P/i686/share/man/man1/$f.1 $dlib |
160 |
|
done |
161 |
|
|
162 |
component="libgigedit" |
component="libgigedit" |
163 |
dlib="$PWD/components/$component.pkg/lib" |
dlib="$PWD/components/$component.pkg/lib" |