homebrew-core/Formula/lbdb.rb
2017-09-11 22:05:42 +02:00

23 lines
734 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 "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