jpeg-turbo: Add HEAD

Closes Homebrew/homebrew#49013.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Felix Bünemann 2016-02-09 21:28:04 +01:00 committed by Dominyk Tiller
parent 9e8779899c
commit 72af2f2573

View file

@ -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"