24 lines
828 B
Ruby
24 lines
828 B
Ruby
class Lbdb < Formula
|
|
desc "Little brother's database for the mutt mail reader"
|
|
homepage "https://www.spinnaker.de/lbdb/"
|
|
url "https://www.spinnaker.de/debian/lbdb_0.44.tar.xz"
|
|
sha256 "e58748ef4d065aeee801aa921be07990827d532b7d8c9dfe4a5181a772b7a4f0"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "feef625ac2655df3ca39490ec70b9438aa54528ad4e48fdb52332e0ea9344995" => :high_sierra
|
|
sha256 "24db89a55a82dbf157ce5f99f8c1da681afd0a3de32e887f0c93c756b9bf3be1" => :sierra
|
|
sha256 "92aaed0bf05120218462c9e72bb9cf6b1f5b016621d798a29462b6679f8c99aa" => :el_capitan
|
|
end
|
|
|
|
depends_on "abook" => :recommended
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--libdir=#{lib}/lbdb"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert_match version.to_s, shell_output("#{bin}/lbdbq -v")
|
|
end
|
|
end
|