Commit ef3e021d authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1301 from cstrouse/update-curl

Update curl from 7.55.1 to 7.56.0
parents 054ce641 1bfd80c5
...@@ -3,38 +3,35 @@ require 'package' ...@@ -3,38 +3,35 @@ require 'package'
class Curl < Package class Curl < Package
description 'Command line tool and library for transferring data with URLs.' description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.haxx.se/' homepage 'https://curl.haxx.se/'
version '7.55.1' version '7.56.0'
source_url 'https://curl.haxx.se/download/curl-7.55.1.tar.bz2' source_url 'https://curl.haxx.se/download/curl-7.56.0.tar.xz'
source_sha256 'e5b1a92ed3b0c11f149886458fa063419500819f1610c020d62f25b8e4b16cfb' source_sha256 '32437bcca0e9434384329fdc733547879d25ba70335b3cf9e3d9cbc3e71fd172'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.55.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.55.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.55.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/curl-7.55.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '7ef956dad600af8a22681f2d03360b88900ced7f27d3515904ef3f9aac47685e',
armv7l: '7ef956dad600af8a22681f2d03360b88900ced7f27d3515904ef3f9aac47685e',
i686: '85e4c5086ff52f3c0e86db39fc23cf9fc942ebc2acfeb34cb9c02a59d1d7ad85',
x86_64: 'a033d6ed5133d8f0e6e6f76a38b2e4b6fb241803d21ff0b593e11d5a9481ed3c',
}) })
depends_on 'groff' => :build
depends_on 'libssh2'
depends_on 'openssl' => :build depends_on 'openssl' => :build
depends_on 'zlibpkg' => :build depends_on 'zlibpkg' => :build
depends_on 'libssh2'
depends_on 'groff' => :build
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--disable-static" system './configure',
system "make" "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-debug',
'--disable-dependency-tracking',
'--disable-static'
system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
def self.check def self.check
system "make", "test" system 'make', 'test'
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment