dc06adce7e
Upgrade discount to the latest stable. This includes bug fixes for clang. So remove the patch. Tested with clang and llvm from XCode-4.4.1. Fixes Homebrew/homebrew#14011 Closes Homebrew/homebrew#14100. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
524 B
Ruby
18 lines
524 B
Ruby
require 'formula'
|
|
|
|
class Discount < Formula
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/discount/'
|
|
url 'https://github.com/Orc/discount/tarball/v2.1.5a'
|
|
sha1 '73dcf117fa6ca15332c67f246544cd224bfc1774'
|
|
|
|
def install
|
|
system "./configure.sh", "--prefix=#{prefix}",
|
|
"--mandir=#{man}",
|
|
"--with-dl=Both",
|
|
"--enable-all-features"
|
|
bin.mkpath
|
|
lib.mkpath
|
|
include.mkpath
|
|
system "make install.everything"
|
|
end
|
|
end
|