2011-03-22 02:02:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jstalk < Formula
|
|
|
|
homepage 'http://jstalk.org/'
|
2013-06-18 15:04:58 +00:00
|
|
|
url 'https://github.com/ccgus/jstalk/archive/v1.0.1.tar.gz'
|
|
|
|
sha1 '9257333ca347bc29cfc5e97cc199b61cfefa2168'
|
2011-03-22 02:02:44 +00:00
|
|
|
|
2013-06-18 15:06:30 +00:00
|
|
|
head 'https://github.com/ccgus/jstalk.git'
|
|
|
|
|
2013-06-18 15:04:58 +00:00
|
|
|
depends_on :macos => :snow_leopard
|
2013-07-12 16:02:28 +00:00
|
|
|
depends_on :xcode
|
2011-03-22 02:02:44 +00:00
|
|
|
|
2012-03-01 04:36:21 +00:00
|
|
|
def install
|
|
|
|
["JSTalk Framework", "jstalk command line", "JSTalk Editor"].each do |t|
|
2014-02-28 03:47:38 +00:00
|
|
|
xcodebuild "-target", t, "-configuration", "Release", "ONLY_ACTIVE_ARCH=YES", "SYMROOT=build"
|
2011-03-22 02:02:44 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
cd 'build/Release' do
|
|
|
|
bin.install 'jstalk'
|
|
|
|
prefix.install "JSTalk Editor.app"
|
2013-05-03 16:28:45 +00:00
|
|
|
frameworks.install 'JSTalk.framework'
|
2011-03-22 02:02:44 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|