Also make it build a dylib, not a static library. This is because the default linker behaviour is to run through the search path twice. First time looking for dylibs and second time for .a files. So duplicate formula must build a dylib.
The other option is the -search_paths_first link flag. I don't like this though as every flag we bung in there adds more possible compile issues to projects that depend on such flags being off.
The "fixes" to this formula for 10.6 completely broke it on 10.5.
The formula now has separate setup / deps handling for 10.5 and
10.6, which should work until Subversion 1.7 comes out some day
and the Snow Leopard system deps break again.
So many tools expect all SDL modules to be installed in the same place. So we have to change the prefix path to HOMEBREW_PREFIX. This is probably the correct thing to do in general in fact.
pdflib-lite is required to enable Gnuplot's PDF terminal.
While not free (as in speach) software, pdflib-lite is available for
non-commercial (i.e., academic and personal) use free of charge. A license
reminder is printed at the end of the build.
pdflib is also provided by MacPorts; a workaround from their portfile was
adapted to this formula to get the build to go through.
shell-fm is a lightweight, console-based player for last.fm radio streams.
Signed-off-by: Max Howell <max@methylblue.com>
The h1 on the page is Shell.fm, everywhere else he calls it shell-fm. Thanks developer-guy. I switched the formula to .fm as that is more consitent with how you would write it if you heard it mentioned in a podcast etc.
Signed-off-by: Max Howell <max@methylblue.com>
Scons is now an example of a system that we do duplicated even though easy_install supports it. This is because:
1) Easy Install installs a version that is not current;
2) We may need to directly depend on this formula to build other formula.