diff options
| author | Eric Windisch | 2013-10-01 22:39:14 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-10-05 10:15:37 -0700 |
| commit | 401cbaa9949086f5d6269e0fd4ce637cc9ac19df (patch) | |
| tree | 14e926927543629f7d45faf5cb03ac2a9537c305 /Library/Formula | |
| parent | 7543b5ec3354829ec430514ea5f1bce49844e907 (diff) | |
| download | homebrew-401cbaa9949086f5d6269e0fd4ce637cc9ac19df.tar.bz2 | |
bacula-fd 5.2.13
Closes #22980.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/bacula-fd.rb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/bacula-fd.rb b/Library/Formula/bacula-fd.rb new file mode 100644 index 000000000..21483fa8b --- /dev/null +++ b/Library/Formula/bacula-fd.rb @@ -0,0 +1,28 @@ +require 'formula' + +class BaculaFd < Formula + homepage 'http://www.bacula.org/' + url 'http://downloads.sourceforge.net/project/bacula/bacula/5.2.13/bacula-5.2.13.tar.gz' + sha1 '30b1eb2efb515138807163d046f675eaa29fad1c' + + def install + # * sets --disable-conio in order to force the use of readline + # (conio support not tested) + # * working directory in /var/lib/bacula, reasonable place that + # matches Debian's location. + system "./configure", "--prefix=#{prefix}", + "--sbindir=#{bin}", + "--with-working-dir=#{var}/lib/bacula", + "--with-pid-dir=#{HOMEBREW_PREFIX}/var/run", + "--enable-client-only", + "--disable-conio" + system "make" + system "make install" + + # Ensure var/run exists: + (var + 'run').mkpath + + # Create the working directory: + (var + 'lib/bacula').mkpath + end +end |
