mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 03:49:49 -05:00
ical-buddy 1.7.18
Add a stable version, 1.7.18, and fix up the arch and sdk replacements.
This commit is contained in:
1 parent
49ffda0fee
commit
d83f73c8cf
1 file changed
+11
-1
@@ -1,13 +1,23 @@
|
||||
require 'formula'
|
||||
|
||||
class IcalBuddy < Formula
|
||||
url "http://hasseg.org/git-public/icalBuddy.git",
|
||||
:tag => '36058c4f05bebbc377f5dfa68b9be476f3d0a361',
|
||||
:using => :git
|
||||
homepage 'http://hasseg.org/icalBuddy/'
|
||||
version '1.7.18'
|
||||
|
||||
head "http://hasseg.org/git-public/icalBuddy.git", :using => :git
|
||||
|
||||
def install
|
||||
arch = MacOS.prefer_64_bit? ? "x86_64" : "i386"
|
||||
sdk = MacOS.leopard? ? "10.5" : "10.6"
|
||||
|
||||
inreplace "Makefile" do |s|
|
||||
s.gsub! "-arch i386 -arch ppc $(ARCH_64BIT)", "-arch #{arch}"
|
||||
s.gsub! "-mmacosx-version-min=10.5", "-mmacosx-version-min=#{sdk}"
|
||||
end
|
||||
|
||||
inreplace "Makefile", "-arch i386 -arch x86_64 -arch ppc", "-arch #{arch}"
|
||||
system "make icalBuddy icalBuddy.1 icalBuddyLocalization.1 icalBuddyConfig.1"
|
||||
|
||||
bin.install "icalBuddy"
|
||||
|
||||
Reference in new issue
Block a user