Update curl to 7.52.1

Add source compile methods
parent d2661c66
require 'package' require 'package'
class Curl < Package class Curl < Package
version '7.32.0' version '7.52.1'
binary_url ({ source_url 'https://curl.haxx.se/download/curl-7.52.1.tar.bz2'
aarch64: 'https://dl.dropboxusercontent.com/s/vvs612glzxrnjva/curl-7.32.0-chromeos-armv7l.tar.xz', source_sha1 'aa9f2300096d806c68c7ba8c50771853d1b43eb4'
armv7l: 'https://dl.dropboxusercontent.com/s/vvs612glzxrnjva/curl-7.32.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.dropboxusercontent.com/s/h3x2iiy5ibi97vr/curl-7.32.0-chromeos-i686.tar.gz?token_hash=AAETu-MnNyBTCHQbkh4O817QbNK3wRLbAP_gQhjgNyFGtw&dl=1', depends_on 'openssl' => :build
x86_64: 'https://dl.dropboxusercontent.com/s/u2hmmd6wfz25qnn/curl-7.32.0-chromeos-x86_64.tar.gz?token_hash=AAGHjx6ATIsDW-Xi4pNUbCMknfWUa6GGQbAquWDkH1xzgg&dl=1', depends_on 'zlibpkg' => :build
}) depends_on 'libssh2'
binary_sha1 ({ depends_on 'groff' => :build
aarch64: '5d974555b12b54ec47f044dc1cfe7a8ed31bb7e7',
armv7l: '5d974555b12b54ec47f044dc1cfe7a8ed31bb7e7', def self.build
i686: 'af3abbae663884ed367c5b6b467ebb310052f53f', system "./configure", "--disable-static"
x86_64: '94766f554b195583040e31ce8e85846d8271ac11', system "make"
}) end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make test"
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