vc4asm 0.2.1

Closes Homebrew/homebrew#50030.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
Francisco Facioni 2016-03-11 14:58:06 -03:00 committed by Xu Cheng
parent c04b2418cf
commit caea673e47

View file

@ -1,8 +1,8 @@
class Vc4asm < Formula
desc "Macro assembler for Broadcom VideoCore IV aka Raspberry Pi GPU"
homepage "http://maazl.de/project/vc4asm/doc/index.html"
url "https://github.com/maazl/vc4asm/archive/V0.1.8.tar.gz"
sha256 "6e98d5263879c7e24762f707961fa3e31db9c43e6ffc2ef5b22d5d44a180d666"
url "https://github.com/maazl/vc4asm/archive/V0.2.1.tar.gz"
sha256 "c9ffb315961a634cef1a26620a73483e7b819a963374952046aa7099d7ceb25c"
bottle do
cellar :any
@ -11,22 +11,25 @@ class Vc4asm < Formula
sha256 "8c78b6050331c1580dfe22a330a0e449a8b94e18d6432078668f08a2ffc99583" => :mountain_lion
end
depends_on "cmake" => :build
needs :cxx11
# Removes ELF support for OSX (merged upstream)
patch do
url "https://github.com/maazl/vc4asm/pull/2.patch"
sha256 "9b7996563a6b15ae7d5578df6d08b43413dc1758e8e2002115ba414daed323e3"
url "https://github.com/maazl/vc4asm/pull/7.patch"
sha256 "50e8d58bf406aed69c8e247cb447353cc7a9fb6d5c6c7862c6447bf28a4c8779"
end
patch do
url "https://github.com/maazl/vc4asm/commit/e2e855cd728f7f2eab45499dd251cf63db19c0cb.patch"
sha256 "72aa18f016669cdafec927b917f951f30c3f8946f1e8a4df1fd0016c171fa6d4"
end
def install
ENV.cxx11
mkdir "build"
cd "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
cd "src" do
system "make"
end
bin.install %w[bin/vc4asm bin/vc4dis]
share.install "share/vc4.qinc"
end
test do