homebrew-core/Formula/ical-buddy.rb

17 lines
446 B
Ruby
Raw Normal View History

require 'formula'
class IcalBuddy <Formula
homepage 'http://hasseg.org/icalBuddy/'
head "http://hasseg.org/git-public/icalBuddy.git", :using => :git
def install
arch = snow_leopard_64? ? "x86_64" : "i386"
inreplace "Makefile", "-arch i386 -arch x86_64 -arch ppc", "-arch #{arch}"
system "make icalBuddy icalBuddy.1 icalBuddyLocalization.1 icalBuddyConfig.1"
bin.install "icalBuddy"
man1.install Dir["*.1"]
end
end