audit fixes: C 06: csup - cups-pdf
Closes Homebrew/homebrew#44964. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
0ac08ee549
commit
7241c84a10
3 changed files with 11 additions and 12 deletions
|
@ -4,6 +4,7 @@ class Csup < Formula
|
|||
url "https://bitbucket.org/mux/csup/get/REL_20120305.tar.gz"
|
||||
sha256 "6b9a8fa2d2e70d89b2780cbc3f93375915571497f59c77230d4233a27eef77ef"
|
||||
revision 1
|
||||
head "https://bitbucket.org/mux/csup", :using => :hg
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -12,8 +13,6 @@ class Csup < Formula
|
|||
sha256 "83f4c2dda45961e164a267b9a20f64a2d5d60ddbf1f52305a6af6da1e49798fb" => :mountain_lion
|
||||
end
|
||||
|
||||
head "https://bitbucket.org/mux/csup", :using => :hg
|
||||
|
||||
depends_on "openssl"
|
||||
|
||||
def install
|
||||
|
|
|
@ -5,6 +5,15 @@ class Ctags < Formula
|
|||
sha256 "0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7"
|
||||
revision 1
|
||||
|
||||
stable do
|
||||
# also fixes http://sourceforge.net/tracker/?func=detail&aid=3247256&group_id=6556&atid=106556
|
||||
# merged upstream but not yet in stable
|
||||
patch :p2 do
|
||||
url "https://gist.githubusercontent.com/naegelejd/9a0f3af61954ae5a77e7/raw/16d981a3d99628994ef0f73848b6beffc70b5db8/Ctags%20r782"
|
||||
sha256 "26d196a75fa73aae6a9041c1cb91aca2ad9d9c1de8192fce8cdc60e4aaadbcbb"
|
||||
end
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "e1582f148434de71bfa2516f6fad0598b41115f21164ad59c847e3282d550586" => :el_capitan
|
||||
|
@ -21,15 +30,6 @@ class Ctags < Formula
|
|||
# fixes http://sourceforge.net/tracker/?func=detail&aid=3247256&group_id=6556&atid=106556
|
||||
patch :p2, :DATA
|
||||
|
||||
stable do
|
||||
# also fixes http://sourceforge.net/tracker/?func=detail&aid=3247256&group_id=6556&atid=106556
|
||||
# merged upstream but not yet in stable
|
||||
patch :p2 do
|
||||
url "https://gist.githubusercontent.com/naegelejd/9a0f3af61954ae5a77e7/raw/16d981a3d99628994ef0f73848b6beffc70b5db8/Ctags%20r782"
|
||||
sha256 "26d196a75fa73aae6a9041c1cb91aca2ad9d9c1de8192fce8cdc60e4aaadbcbb"
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
if build.head?
|
||||
system "autoheader"
|
||||
|
|
|
@ -8,7 +8,7 @@ class CupsPdf < Formula
|
|||
patch :DATA
|
||||
|
||||
def install
|
||||
system "#{ENV.cc} #{ENV.cflags} -o cups-pdf src/cups-pdf.c"
|
||||
system ENV.cc, ENV.cflags, "-o", "cups-pdf", "src/cups-pdf.c"
|
||||
|
||||
(etc+"cups").install "extra/cups-pdf.conf"
|
||||
(lib+"cups/backend").install "cups-pdf"
|
||||
|
|
Loading…
Reference in a new issue