Commit f6bef0f4 authored by lovedheart's avatar lovedheart Committed by Ed Reel

[libarchive] fix libdir (#2062)

* [libarchive] fix libdir

#1981

* Update libarchive.rb
parent 73377592
......@@ -3,22 +3,11 @@ require 'package'
class Libarchive < Package
description 'Multi-format archive and compression library.'
homepage 'http://www.libarchive.org/'
version '3.2.2'
source_url 'http://www.libarchive.org/downloads/libarchive-3.2.2.tar.gz'
source_sha256 '691c194ee132d1f0f7a42541f091db811bc2e56f7107e9121be2bc8c04f1060f'
version '3.3.2'
source_url 'http://www.libarchive.org/downloads/libarchive-3.3.2.tar.gz'
source_sha256 'ed2dbd6954792b2c054ccf8ec4b330a54b85904a80cef477a1c74643ddafa0ce'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.2.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.2.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libarchive-3.2.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '2dde0581548d00cb3df09232daa5dc4f62a310537385afdbe7710d452b63c1fb',
armv7l: '2dde0581548d00cb3df09232daa5dc4f62a310537385afdbe7710d452b63c1fb',
i686: '80a0e5dac82fd52f60e8dbf6f5130e865888b0e50fb028efd485f28f8e4f81ec',
x86_64: 'df7b464068f21919d6fc9a5afa782713b2533bc345a60f1be44944af67f718c4',
})
depends_on 'acl'
depends_on 'attr'
......@@ -26,7 +15,10 @@ class Libarchive < Package
depends_on 'xzutils' => :build
def self.build
system "./configure --prefix=/usr/local --disable-static"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--disable-static"
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