crosstool-ng 1.24.0

Closes #39516.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Roman Bolshakov 2019-05-04 10:32:12 +02:00 committed by Chongyu Zhu
parent a5672b074d
commit 044765270f
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,9 +1,8 @@
class CrosstoolNg < Formula
desc "Tool for building toolchains"
homepage "https://crosstool-ng.github.io/"
url "http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.23.0.tar.xz"
sha256 "68a43ea98ccf9cb345cb6eec494a497b224fee24c882e8c14c6713afbbe79196"
revision 3
url "http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.24.0.tar.xz"
sha256 "804ced838ea7fe3fac1e82f0061269de940c82b05d0de672e7d424af98f22d2d"
head "https://github.com/crosstool-ng/crosstool-ng.git"
bottle do
@ -16,34 +15,31 @@ class CrosstoolNg < Formula
depends_on "help2man" => :build
depends_on "autoconf"
depends_on "automake"
depends_on "bash"
depends_on "binutils"
depends_on "bison"
depends_on "coreutils"
depends_on "flex"
depends_on "gawk"
depends_on "gettext"
depends_on "gnu-sed"
depends_on "grep"
depends_on "libtool"
depends_on "lzip"
depends_on "m4"
depends_on "make"
depends_on "ncurses" if DevelopmentTools.clang_build_version >= 1000
depends_on "xz"
if build.head?
depends_on "bash"
depends_on "bison"
depends_on "gettext"
depends_on "lzip"
end
def install
if build.head?
system "./bootstrap"
ENV["BISON"] = "#{Formula["bison"].opt_bin}/bison"
ENV.append "LDFLAGS", "-lintl"
end
ENV["BISON"] = "#{Formula["bison"].opt_bin}/bison"
ENV["M4"] = "#{Formula["m4"].opt_bin}/m4"
ENV["MAKE"] = "#{Formula["make"].opt_bin}/gmake"
ENV.append "LDFLAGS", "-lintl"
system "./configure", "--prefix=#{prefix}"