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.
Best Answer
If you are looking to install some common command line tools which are not included in Mac OS X, you might have some success in the Rudix program, which offers pre-compiled versions of many utilities in a ready-to-install DMG/pkg format.
Rudix: The hassle-free way to get Unix programs on Mac OS X