homebrew-core/Formula/ical-buddy.rb
2011-03-12 11:55:09 -08:00

16 lines
447 B
Ruby

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