ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/makebin.osx
(Generate patch)

Comparing deliantra/Deliantra-Client/makebin.osx (file contents):
Revision 1.8 by root, Mon Sep 29 03:05:00 2008 UTC vs.
Revision 1.10 by root, Fri Dec 5 14:49:09 2008 UTC

1#!/bin/bash 1#!/bin/bash
2 2
3# Convert a gtk2-perl program to a standalone OS X binary 3# Convert a gtk2-perl program to a standalone OS X binary
4 4
5# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib 5# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib
6
7#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps
8export MACOSX_DEPLOYMENT_TARGET=10.5 # nope
6 9
7PERL=/opt/local 10PERL=/opt/local
8PERLLIB=/usr/lib/perl5 11PERLLIB=/usr/lib/perl5
9 12
10umask 022 13umask 022
11 14
12if true; then 15if true; then
13 for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do 16 for mod in AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB; do
14 ( 17 (
15 cd /root/src/$mod 18 cd /root/src/$mod
19 set -x
20 pwd
16 rsync -avzPessh 10.0.0.1:/root/src/$mod . --del 21 rsync -avPessh 10.0.0.1:src/$mod/. . --del
17 $PERL/bin/perl Makefile.PL </dev/null 22 $PERL/bin/perl Makefile.PL </dev/null
18 make clean 23 make clean
19 $PERL/bin/perl Makefile.PL </dev/null 24 $PERL/bin/perl Makefile.PL </dev/null
20 make install || exit 25 make install || exit
21 make clean 26 make clean
22 ) 27 ) || exit
23 done 28 done
24fi 29fi
25 30
26if true; then 31if true; then
27 32
89 94
90trap "rm -f addlist pango.rc pango.modules fonts.conf" 0 95trap "rm -f addlist pango.rc pango.modules fonts.conf" 0
91 96
92cd /root/src/deliantra/Deliantra-Client 97cd /root/src/deliantra/Deliantra-Client
93 98
94#$PERL/bin/perl Makefile.PL 99$PERL/bin/perl Makefile.PL
95#make clean 100make clean
96#$PERL/bin/perl Makefile.PL 101$PERL/bin/perl Makefile.PL
97make install || exit 102make install || exit
98 103
99DYLD_LIBRARY_PATH=/opt/local/lib \ 104DYLD_LIBRARY_PATH=/opt/local/lib \
100$PERL/bin/pp -C \ 105$PERL/bin/pp -C \
101 -z 9 \ 106 -z 9 \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines