-
Notifications
You must be signed in to change notification settings - Fork 3
/
otfcc-mac64.rb
27 lines (24 loc) · 1.08 KB
/
otfcc-mac64.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Documentation: https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Formula-Cookbook.md
# http://www.rubydoc.info/github/Homebrew/brew/master/Formula
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
class OtfccMac64 < Formula
desc "Parses & writes SFNT structures."
homepage "https://github.com/caryll/otfcc/releases/"
url "https://github.com/caryll/otfcc/archive/v0.10.4.tar.gz"
version "0.10.4"
sha256 "d9c74825ddac700eb429de31de7cb0a249636f47c6a4cc64eaa102a40966cf00"
def install
# ENV.deparallelize # if your formula fails when building in parallel
system "./dep/bin-osx/premake5", "xcode4"
system "xcodebuild",
"-workspace", "build/xcode/otfcc.xcworkspace",
"-scheme", "otfccbuild",
"-configuration", "Release"
system "xcodebuild",
"-workspace", "build/xcode/otfcc.xcworkspace",
"-scheme", "otfccdump",
"-configuration", "Release"
bin.install "bin/release-x64/otfccbuild"
bin.install "bin/release-x64/otfccdump"
end
end