homebrew-core/Formula/contacts.rb

28 lines
1.2 KiB
Ruby
Raw Normal View History

# Use a sha1 instead of a tag, as the author has not provided a tag for
# this release. In fact, the author no longer uses this software, so it
# is a candidate for removal if no new maintainer is found.
2011-03-10 05:11:03 +00:00
class Contacts < Formula
desc "Command-line tool to access macOS's Contacts (formerly 'Address Book')"
homepage "http://www.gnufoo.org/contacts/contacts.html"
url "https://github.com/dhess/contacts/archive/4092a3c6615d7a22852a3bafc44e4aeeb698aa8f.tar.gz"
version "1.1a-3"
sha256 "e3dd7e592af0016b28e9215d8ac0fe1a94c360eca5bfbdafc2b0e5d76c60b871"
2014-05-30 23:03:52 +00:00
bottle do
2016-04-09 09:16:28 +00:00
cellar :any_skip_relocation
2016-09-27 22:57:12 +00:00
sha256 "21bf2ec23b9f096ed09acd44dbd7c2cc59891c01a821a6695e58d69c54647c0e" => :sierra
2016-04-09 09:16:28 +00:00
sha256 "7f6c6817310dacf83041d2017e8841b49e26df0d09039692576b6fe0fed52ecc" => :el_capitan
2015-11-19 15:45:31 +00:00
sha256 "9a9c89e40f9ccf4ec45cf63414eaf31266dfc9b71dc96d8c02f7ab2b38e8f346" => :mavericks
sha256 "548051ca4c3209a63dda33a6c17103b8cd3ea817bc4090963dbb12ee1763dcc6" => :mountain_lion
sha256 "842a3ef87a54aab40009788d034f6095f3c10223867d1b8d5b6e3c933b5e4800" => :lion
2014-05-30 23:03:52 +00:00
end
depends_on :xcode => :build
def install
2014-05-09 01:10:32 +00:00
system "make", "SDKROOT=#{MacOS.sdk_path}"
bin.install "build/Deployment/contacts"
man1.install gzip("contacts.1")
end
end