epics formula added


On 23 Oct 2014, at 09:31, Mike McQuaid <notifications@github.com> wrote:

> In Library/Formula/epics.rb:
> 
> > +  sha1 "3115476795f93b12b2bb62c04bef5a1fa2595e0a"
> > +  version "3.14.12.4"
> > +
> > +  def install
> > +    ENV['EPICS_HOST_ARCH'] = %x[#{buildpath}/startup/EpicsHostArch].chomp
> > +    inreplace "configure/CONFIG_SITE", "#INSTALL_LOCATION=<fullpathname>", "INSTALL_LOCATION=#{prefix}"
> > +    system "make install"
> > +  end
> > +
> > +  def caveats; <<-EOS.undent
> > +    Please configure your system to define the following system environment variables:
> > +
> > +        EPICS_BASE=#{prefix}
> > +        EPICS_HOST_ARCH=#{ENV['EPICS_HOST_ARCH']}
> > +
> > +    EOS
> We shouldn't require configuring these. Instead, write wrapper scripts and install into libexec use bin.env_script_all_files (like ansible.rb does). That'll also fix the audit.
> 
> 

There env. variables are used by other libraries to find EPICS installation (not by the executables provided by this installation). They need to be put in e.g. "~/.bash_profile”. Any way to do this?=