lbdb: use checksummed patches

master
Jack Nagel 2014-03-16 21:35:20 -05:00
parent 26a9235ca5
commit 72b0184963
1 changed files with 14 additions and 7 deletions

View File

@ -10,14 +10,21 @@ class Lbdb < Formula
head 'https://github.com/tgray/lbdb.git'
def patches
p = []
if MacOS.version >= :mountain_lion
p << 'https://github.com/chrisbarrett/lbdb/commit/db0440670194568bbfe2137fc063eb30cf26cb2a.diff'
p << 'https://github.com/chrisbarrett/lbdb/commit/b89ac6ee50e2c03c32635269d9818c045b0abb6f.diff'
p << 'https://github.com/chrisbarrett/lbdb/commit/6cbef5feb4fd921deb08eb52b4169647909946ae.diff'
if MacOS.version >= :mountain_lion
patch do
url "https://github.com/chrisbarrett/lbdb/commit/db0440670194568bbfe2137fc063eb30cf26cb2a.diff"
sha1 "8de0fdcfa5cd73a456b150e19cdad572aa8f0d7c"
end
patch do
url "https://github.com/chrisbarrett/lbdb/commit/b89ac6ee50e2c03c32635269d9818c045b0abb6f.diff"
sha1 "574268f5d7cce1a6dd26e973ff96787c322597a3"
end
patch do
url "https://github.com/chrisbarrett/lbdb/commit/6cbef5feb4fd921deb08eb52b4169647909946ae.diff"
sha1 "fe7024dc7576e0d885335a4829edf8dde09b22ea"
end
p
end
def install