mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Crew options fixes (#5258)
* Update libffi.rb Old ``` crew files libffi libffi: The libffi library provides a portable, high level programming interface to various calling conventions. /usr/local/include/ffi.h /usr/local/include/ffitarget.h /usr/local/lib64/libffi.la /usr/local/lib64/libffi.so /usr/local/lib64/libffi.so.7 /usr/local/lib64/libffi.so.7.1.0 /usr/local/lib64/pkgconfig/libffi.pc /usr/local/share/info/dir.gz /usr/local/share/info/libffi.info.gz /usr/local/share/man/man3/x86_64-cros-linux-gnu-ffi.3.gz /usr/local/share/man/man3/x86_64-cros-linux-gnu-ffi_call.3.gz /usr/local/share/man/man3/x86_64-cros-linux-gnu-ffi_prep_cif.3.gz /usr/local/share/man/man3/x86_64-cros-linux-gnu-ffi_prep_cif_var.3.gz Total found: 13 Disk usage: 90KB ``` new: ``` libffi: The libffi library provides a portable, high level programming interface to various calling conventions. /usr/local/include/ffi.h /usr/local/include/ffitarget.h /usr/local/lib64/libffi.a /usr/local/lib64/libffi.la /usr/local/lib64/libffi.so /usr/local/lib64/libffi.so.7 /usr/local/lib64/libffi.so.7.1.0 /usr/local/lib64/pkgconfig/libffi.pc /usr/local/share/info/dir.gz /usr/local/share/info/libffi.info.gz /usr/local/share/man/man3/ffi.3.gz /usr/local/share/man/man3/ffi_call.3.gz /usr/local/share/man/man3/ffi_prep_cif.3.gz /usr/local/share/man/man3/ffi_prep_cif_var.3.gz Total found: 14 Disk usage: 324KB ``` * Update aria2.rb * Update trousers.rb * Update libmetalink.rb * Update mono.rb * Remove target prefix workaround logic * Update aria2.rb * Update libffi.rb * Update libmetalink.rb * Update mono.rb * Update trousers.rb
This commit is contained in:
@@ -4,31 +4,29 @@ class Trousers < Package
|
||||
description 'The open-source TCG Software Stack.'
|
||||
homepage 'http://trousers.sourceforge.net/'
|
||||
@_ver = '0.3.15'
|
||||
version @_ver
|
||||
version "#{@_ver}-1"
|
||||
compatibility 'all'
|
||||
source_url "https://downloads.sourceforge.net/project/trousers/trousers/#{@_ver}/trousers-#{@_ver}.tar.gz"
|
||||
source_sha256 '1e5be93e518372acf1d92d2f567d01a46fdb0b730487e544e6fb896c59cac77f'
|
||||
|
||||
binary_url ({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-chromeos-x86_64.tar.xz',
|
||||
binary_url({
|
||||
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/trousers-0.3.15-1-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
aarch64: 'd9f1c2a10973b25b26576c8c7c913b4ff898417a6f425732a81b22b4c8daa566',
|
||||
armv7l: 'd9f1c2a10973b25b26576c8c7c913b4ff898417a6f425732a81b22b4c8daa566',
|
||||
i686: 'bc2f18fada6ff3dc0203aa87d7a2e3b001d18db59aae3d094f2341bffa530c24',
|
||||
x86_64: '40601f6366e0d308ece858293e0cc61fcc31ce568b796ea37beb3c3e34ab370f',
|
||||
binary_sha256({
|
||||
aarch64: '3f164e9a58f163ccb8105c8932a0aef22b15d1e425307948e80ea052c2b60989',
|
||||
armv7l: '3f164e9a58f163ccb8105c8932a0aef22b15d1e425307948e80ea052c2b60989',
|
||||
i686: '2f62ba92301c5fc9753b5d159b783bd00d109bac32e0b198309acee2ec01a2b2',
|
||||
x86_64: 'ae6c76c54c1337dc41efc95b6017e45999a56a3470620420d95f76e7e671a0d2'
|
||||
})
|
||||
|
||||
depends_on 'openssl'
|
||||
depends_on 'libtool'
|
||||
depends_on 'pkgconfig'
|
||||
|
||||
def self.build
|
||||
system "./bootstrap.sh"
|
||||
system "CFLAGS='-fcommon -flto -pipe' ./configure \
|
||||
system './bootstrap.sh'
|
||||
system "CFLAGS='-flto=auto' CXXFLAGS='-flto=auto'
|
||||
LDFLAGS='-flto=auto' \
|
||||
./configure \
|
||||
#{CREW_OPTIONS} \
|
||||
--with-gui=none"
|
||||
system 'make'
|
||||
|
||||
Reference in New Issue
Block a user