Commit 80f897ee authored by satmandu's avatar satmandu Committed by GitHub

libarchive -> 3.5.1 (#5064)

parent 373cf38b
......@@ -3,29 +3,31 @@ require 'package'
class Libarchive < Package
description 'Multi-format archive and compression library.'
homepage 'https://www.libarchive.org/'
version '3.4.3'
@_ver '3.5.1'
version @_ver
compatibility 'all'
source_url 'https://www.libarchive.org/downloads/libarchive-3.4.3.tar.xz'
source_sha256 '0bfc3fd40491768a88af8d9b86bf04a9e95b6d41a94f9292dbc0ec342288c05f'
source_url "https://www.libarchive.org/downloads/libarchive-#{@_ver}.tar.xz"
source_sha256 '0e17d3a8d0b206018693b27f08029b598f6ef03600c2b5d10c94ce58692e299b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.4.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.4.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.4.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.4.3-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.5.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.5.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.5.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.5.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd655aeae8c2c016a7f519bac200b8f8c646f438de69867c2e50e2cd25282423b',
armv7l: 'd655aeae8c2c016a7f519bac200b8f8c646f438de69867c2e50e2cd25282423b',
i686: 'ca338f3a39b21c2d29ad361b0f97ade39d2396fa3c911be3edf7525b0948cd65',
x86_64: 'adad9cf581d9dc117e24f799fb9cbaa845c9eb60b688a947bd83d22747cc56fa',
aarch64: '1f88febf96c404466b7e86849b291ecd8e3086021b6fd3fb6b4887f3935e24d8',
armv7l: '1f88febf96c404466b7e86849b291ecd8e3086021b6fd3fb6b4887f3935e24d8',
i686: '457630efbf3cb6af9a88cd3229407e416ec478b78c176bd3735c40f1edbfd192',
x86_64: 'f70e487934dfd505812e01ae2d4cf2c7fc7077cab847240b9f0d840f7d360f55',
})
depends_on 'lz4'
depends_on 'xzutils' => :build
def self.build
system "./configure #{CREW_OPTIONS}"
system "env CFLAGS='-pipe -flto=auto' CXXFLAGS='-pipe -flto=auto' \
./configure #{CREW_OPTIONS}"
system 'make'
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