aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-06-09 11:10:55 -0500
committerJack Nagel2014-06-09 11:11:18 -0500
commit87bf1f843dd8760df86609fb3ca5d0d388327e82 (patch)
treed303af9326d1097061379dbd700d507d08b0ea1e /Library/Formula
parent0fdccbbf7be2dd3bf570ca2c1e32667c2415844e (diff)
downloadhomebrew-87bf1f843dd8760df86609fb3ca5d0d388327e82.tar.bz2
ledger: combine stable block
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ledger.rb24
1 files changed, 12 insertions, 12 deletions
diff --git a/Library/Formula/ledger.rb b/Library/Formula/ledger.rb
index 0f558b3a3..20115db69 100644
--- a/Library/Formula/ledger.rb
+++ b/Library/Formula/ledger.rb
@@ -2,22 +2,24 @@ require 'formula'
class Ledger < Formula
homepage 'http://ledger-cli.org'
- url 'https://github.com/ledger/ledger/archive/v3.0.3.tar.gz'
- sha1 'b65c2dc78f366fc3c2db9e2b7900b727b91f4656'
- head 'https://github.com/ledger/ledger.git', :branch => 'master'
-
- bottle do
- sha1 "a40e25cd2449c3c44bd9385c895d55f4967ca3bc" => :mavericks
- sha1 "3383a59b4a242dc537bb3be81f3e8e588622b442" => :mountain_lion
- end
stable do
- resource 'utfcpp' do
+ url "https://github.com/ledger/ledger/archive/v3.0.3.tar.gz"
+ sha1 "b65c2dc78f366fc3c2db9e2b7900b727b91f4656"
+
+ resource "utfcpp" do
url "http://downloads.sourceforge.net/project/utfcpp/utf8cpp_2x/Release%202.3.4/utf8_v2_3_4.zip"
sha1 "638910adb69e4336f5a69c338abeeea88e9211ca"
end
end
+ bottle do
+ sha1 "a40e25cd2449c3c44bd9385c895d55f4967ca3bc" => :mavericks
+ sha1 "3383a59b4a242dc537bb3be81f3e8e588622b442" => :mountain_lion
+ end
+
+ head "https://github.com/ledger/ledger.git", :branch => "master"
+
option 'debug', 'Build with debugging symbols enabled'
depends_on "cmake" => :build
@@ -36,9 +38,7 @@ class Ledger < Formula
def install
ENV.cxx11
- unless build.head?
- (buildpath/'lib/utfcpp').install resource('utfcpp')
- end
+ (buildpath/"lib/utfcpp").install resource("utfcpp") unless build.head?
flavor = build.include?("debug") ? "debug" : "opt"