homebrew-core/Formula/bagit.rb
ilovezfs 41f00510bf bagit 4.12.1
Closes .

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-04 05:40:37 -07:00

22 lines
634 B
Ruby

class Bagit < Formula
desc "Library for creation, manipulation, and validation of bags"
homepage "https://github.com/LibraryOfCongress/bagit-java"
url "https://github.com/LibraryOfCongress/bagit-java/releases/download/v4.12.1/bagit-4.12.1.zip"
sha256 "2abf838c090867e887cc46bb9f95ab697a6706ee297be8ff8ebc8dc4404ff64e"
bottle :unneeded
def install
# put logs in var, not in the Cellar
(var/"log/bagit").mkpath
inreplace "conf/log4j.properties", "${app.home}/logs", "#{var}/log/bagit"
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/bagit"
end
test do
system bin/"bagit"
end
end