I've attached our build_osx.sh script that will build a .app and package it as a DMG. We chose to include Perl and all the Wx libs rather than trying to rely on any existing libraries on a machine. It makes the install file fibber, but much more reliable.
For linux, we use makeself (http://megastep.org/makeself/) and for Windows, we use Inno Setup (http://www.jrsoftware.org/isinfo.php). These build "launchers" for the various platforms that contain all the platform specific binaries, etc. Each launcher can then fetch all the Pure Perl wxPerl code for the actual frames and dialogs using somethign like LWP->mirror() as collections of PAR files. Hope that helps. Mike. On Mon, Nov 10, 2008 at 5:30 PM, Dodger <[EMAIL PROTECTED]> wrote: > 2008/11/10 Mike Schroeder <[EMAIL PROTECTED]>: > > Are you asking about how to write a wxPerl application for OS X? or how > to > > package up a wxPerl application as a .app file and distribute it in a > dmg? > > We have a shell script that helps us build the .app and bundle it up as a > > dmg that we can share if that is what you are asking. > > Well, I was mostly asking the latter. However, if there's anything > special I have to do regarding the former, that'd be good to know, > too. > > (I know how to make a DMG or PKG of course, it's just the "what all is > expected in the .app directory, and so on) > > -- > Dodger >
build_osx.sh
Description: Bourne shell script
