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.17 by root, Sat Apr 24 06:27:40 2010 UTC vs.
Revision 1.18 by root, Sat Apr 24 07:07:19 2010 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#port install libsdl libsdl_mixer libsdl_image libvorbis libpng jpeg pango db46 libogg p5-libwww-perl p5-yaml 5#port install libsdl libsdl_mixer libsdl_image libvorbis libpng jpeg pango db46 libogg p5-libwww-perl p5-yaml
6# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib 6# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.8.dylib
7# ln -s db46/db.h /opt/local/include 7# ln -s db46/db.h /opt/local/include
8# ln -s db46/libdb.dylib /opt/local/lib 8# ln -s db46/libdb.dylib /opt/local/lib
9# /opt/local/bin/cpan Pod::POM 9# /opt/local/bin/cpan Pod::POM
10 10
11#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps 11#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps
17PERLLIB=/usr/lib/perl5 17PERLLIB=/usr/lib/perl5
18 18
19umask 022 19umask 022
20 20
21if true; then 21if true; then
22 for mod in common-sense AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard; do 22 for mod in common-sense AnyEvent EV JSON-XS Compress-LZF BDB Guard deliantra/Deliantra; do
23 ( 23 (
24 mkdir -p /root/src/$mod || exit 77 24 mkdir -p /root/src/$mod || exit 77
25 cd /root/src/$mod 25 cd /root/src/$mod
26 set -x 26 set -x
27 pwd 27 pwd

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines