The directory layout of the package is

remotebox
share
   l---remotebox
              l--------- (Perl library files - .pl .pm, etc)

The file `remotebox` is the startup script, and it will then `require` all
those files in `share/remotebox/`

My approach is to put `remotebox` inside `#{bin}` and patch it so that it
can refer to the actual path in `/usr/local/Cellar/remotebox/<version>/`
rather than `/usr/local/bin`

Honestly I feel this is overly complicated. Is there a better approach? I
will be happy to implement that.





On Tue, Oct 29, 2013 at 1:54 AM, Adam Vandenberg
<notifications@github.com>wrote:

> In Library/Formula/remotebox.rb:
>
> > +
> > +
> > +  depends_on 'SOAP::Lite' 		=> :perl
> > +  depends_on 'Gtk2'				=> :perl
> > +  depends_on 'rdesktop'			=> :recommended
> > +
> > +<<<<<<< HEAD
> > +  def patches
> > +  	# Perl script uses $Bin which does not resolve to symlink.
> > +  	# Change to #RealBin - resolve symlink - and proper paths
> > +  	DATA
> > +  end
> > +
> > +  def install
> > +    bin.install Dir['remotebox']
> > +	prefix.install Dir['*']
>
> What is this glob-install installing?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mxcl/homebrew/pull/23705/files#r7256742>
> .
>