From 2a7b90179a234e2b4a463a3fc2f66603acb0267e Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 21 Jan 2015 23:01:09 +0100 Subject: ledger: install headers from utfcpp resource needed for developing with ledger Closes #36116. Signed-off-by: Mike McQuaid --- Library/Formula/ledger.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ledger.rb b/Library/Formula/ledger.rb index 2631972e4..ed0fbcc21 100644 --- a/Library/Formula/ledger.rb +++ b/Library/Formula/ledger.rb @@ -1,14 +1,11 @@ class Ledger < Formula homepage "http://ledger-cli.org" + url "https://github.com/ledger/ledger/archive/v3.1.tar.gz" + sha1 "549aa375d4802e9dd4fd153c45ab64d8ede94afc" - stable do - url "https://github.com/ledger/ledger/archive/v3.1.tar.gz" - sha1 "549aa375d4802e9dd4fd153c45ab64d8ede94afc" - - resource "utfcpp" do - url "http://downloads.sourceforge.net/project/utfcpp/utf8cpp_2x/Release%202.3.4/utf8_v2_3_4.zip" - sha1 "638910adb69e4336f5a69c338abeeea88e9211ca" - end + resource "utfcpp" do + url "http://downloads.sourceforge.net/project/utfcpp/utf8cpp_2x/Release%202.3.4/utf8_v2_3_4.zip" + sha1 "638910adb69e4336f5a69c338abeeea88e9211ca" end bottle do @@ -41,6 +38,7 @@ class Ledger < Formula ENV.cxx11 (buildpath/"lib/utfcpp").install resource("utfcpp") unless build.head? + resource("utfcpp").stage { include.install Dir["source/*"] } flavor = (build.with? "debug") ? "debug" : "opt" -- cgit v1.2.3