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.7 by root, Fri Sep 26 23:59:05 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
21 rsync -avPessh 10.0.0.1:src/$mod/. . --del
16 $PERL/bin/perl Makefile.PL </dev/null 22 $PERL/bin/perl Makefile.PL </dev/null
17 make clean 23 make clean
18 $PERL/bin/perl Makefile.PL </dev/null 24 $PERL/bin/perl Makefile.PL </dev/null
19 make install || exit 25 make install || exit
20 make clean 26 make clean
21 ) 27 ) || exit
22 done 28 done
23fi 29fi
24 30
25if true; then 31if true; then
26 32
88 94
89trap "rm -f addlist pango.rc pango.modules fonts.conf" 0 95trap "rm -f addlist pango.rc pango.modules fonts.conf" 0
90 96
91cd /root/src/deliantra/Deliantra-Client 97cd /root/src/deliantra/Deliantra-Client
92 98
93#$PERL/bin/perl Makefile.PL 99$PERL/bin/perl Makefile.PL
94#make clean 100make clean
95#$PERL/bin/perl Makefile.PL 101$PERL/bin/perl Makefile.PL
96make install || exit 102make install || exit
97 103
98DYLD_LIBRARY_PATH=/opt/local/lib \ 104DYLD_LIBRARY_PATH=/opt/local/lib \
99$PERL/bin/pp -C \ 105$PERL/bin/pp -C \
100 -z 9 \ 106 -z 9 \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines