2010-03-12 10:14:51 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2012-08-06 20:34:32 +00:00
|
|
|
# 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
|
2010-03-12 10:14:51 +00:00
|
|
|
homepage 'http://www.gnufoo.org/contacts/contacts.html'
|
2013-03-29 01:03:20 +00:00
|
|
|
url 'https://github.com/dhess/contacts/archive/4092a3c6615d7a22852a3bafc44e4aeeb698aa8f.tar.gz'
|
2012-08-06 20:34:32 +00:00
|
|
|
version '1.1a-3'
|
2013-03-29 01:03:20 +00:00
|
|
|
sha1 '79526dd96e5b5297daaae6327c79de9366f94c87'
|
2010-03-12 10:14:51 +00:00
|
|
|
|
2013-07-23 18:31:39 +00:00
|
|
|
# Yes, it requires both Xcode *and* the CLT to build on 10.8 and newer;
|
2013-12-14 18:13:11 +00:00
|
|
|
# see https://github.com/Homebrew/homebrew/issues/21408
|
2013-07-23 18:22:26 +00:00
|
|
|
depends_on :xcode
|
2013-07-23 18:31:39 +00:00
|
|
|
depends_on :clt if MacOS.version > :lion
|
2013-07-23 18:22:26 +00:00
|
|
|
|
2010-03-12 10:14:51 +00:00
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "build/Deployment/contacts"
|
|
|
|
man1.install gzip("contacts.1")
|
|
|
|
end
|
|
|
|
end
|