I'd like to know if there's a way I could package compiled command line tools together as part of an automator script or an app.
Let's say, for example, I want to use a command line tool called foo
and this relies on jpeglib
and a few other libs. Am I able to put them in the same folder and somehow pipe this new $PATH to the foo
app?
The reason I want to do this is that a client requires something that I usually use a bash script for. In order for them to do the same thing they'd need to installed XCode (to get the gcc compiler) and install the command line tools (through macports, fink, etc...) and of course that's hassle.