parent
5b79083bdf
commit
4ea3a3d008
|
@ -2,18 +2,13 @@ require "formula"
|
|||
|
||||
class Kvazaar < Formula
|
||||
homepage "https://github.com/ultravideo/kvazaar"
|
||||
url "https://github.com/ultravideo/kvazaar/archive/v0.2.0.tar.gz"
|
||||
sha1 "b0f23dc0d421e64183deba8fdcd2347863d711d5"
|
||||
url "https://github.com/ultravideo/kvazaar/archive/v0.2.4.tar.gz"
|
||||
sha1 "636c26955b0b69249f51bc8661a8d57ad4c581df"
|
||||
|
||||
depends_on 'yasm' => :build
|
||||
|
||||
def install
|
||||
cd 'src' do
|
||||
# Have to manually change these right now; see:
|
||||
# https://github.com/ultravideo/kvazaar/issues/2
|
||||
inreplace 'Makefile', 'elf64', 'macho64'
|
||||
inreplace 'Makefile', 'elf', 'macho32'
|
||||
inreplace 'x64/test64.asm', 'cpuId64', '_cpuId64'
|
||||
system 'make'
|
||||
end
|
||||
bin.install 'src/kvazaar'
|
||||
|
|
Loading…
Reference in New Issue