jpeg-turbo: Add HEAD
Closes Homebrew/homebrew#49013. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
9e8779899c
commit
72af2f2573
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,13 @@ class JpegTurbo < Formula
|
|||
|
||||
option "without-test", "Skip build-time checks (Not Recommended)"
|
||||
|
||||
head do
|
||||
url "https://github.com/libjpeg-turbo/libjpeg-turbo.git"
|
||||
|
||||
depends_on "automake" => :build
|
||||
depends_on "autoconf" => :build
|
||||
end
|
||||
|
||||
depends_on "libtool" => :build
|
||||
|
||||
keg_only "libjpeg-turbo is not linked to prevent conflicts with the standard libjpeg."
|
||||
|
@ -39,6 +46,7 @@ class JpegTurbo < Formula
|
|||
args << "NASM=#{buildpath}/nasm/bin/nasm"
|
||||
end
|
||||
|
||||
system "autoreconf", "-fvi" if build.head?
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
system "make", "test" if build.with? "test"
|
||||
|
|
Loading…
Reference in a new issue