Commit 25891f82 authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Update c_ares from 1.14.0 to 1.15.0 (#3548)

Tested on ARM.
parent 42077505
......@@ -3,29 +3,21 @@ require 'package'
class C_ares < Package
description 'c-ares is a C library for asynchronous DNS requests (including name resolves).'
homepage 'https://c-ares.haxx.se/'
version '1.14.0'
source_url 'https://c-ares.haxx.se/download/c-ares-1.14.0.tar.gz'
source_sha256 '45d3c1fd29263ceec2afc8ff9cd06d5f8f889636eb4e80ce3cc7f0eaf7aadc6e'
version '1.15.0'
source_url 'https://c-ares.haxx.se/download/c-ares-1.15.0.tar.gz'
source_sha256 '6cdb97871f2930530c97deb7cf5c8fa4be5a0b02c7cea6e7c7667672a39d6852'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.14.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.14.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.14.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.14.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7d03bd0a5b53a42f2c3e32f9a4dfe567f9de6b1214cd0fcfe90e35f2b93472ce',
armv7l: '7d03bd0a5b53a42f2c3e32f9a4dfe567f9de6b1214cd0fcfe90e35f2b93472ce',
i686: 'eecab4942b826db4a026b5a18bd910789cdf1558da9b8f57bf0ffff8c0d562cf',
x86_64: '0cc2f4240991705665aa3c6cb4ca196e54808c441e6acac983c9c278dbaae2f8',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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