mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
update upx, rebuild git (#8040)
* update upx, rebuild git * fix spacing
This commit is contained in:
committed by
GitHub
parent
3179a31531
commit
62d5b48b7f
@@ -6,23 +6,23 @@ require 'package'
|
||||
class Upx < Package
|
||||
description 'Extendable, high-performance executable packer for several executable formats'
|
||||
homepage 'https://github.com/upx/upx'
|
||||
version '4.0.2'
|
||||
version '4.0.3-f4c4d51'
|
||||
license 'custom GPL2'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/upx/upx.git'
|
||||
git_hashtag "v#{version}"
|
||||
git_hashtag 'f4c4d5148e4f8c9fc5bfd2c2e836ee2aa27fbaab'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.2_armv7l/upx-4.0.2-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.2_armv7l/upx-4.0.2-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.2_i686/upx-4.0.2-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.2_x86_64/upx-4.0.2-chromeos-x86_64.tar.zst'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.3-f4c4d51_armv7l/upx-4.0.3-f4c4d51-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.3-f4c4d51_armv7l/upx-4.0.3-f4c4d51-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.3-f4c4d51_i686/upx-4.0.3-f4c4d51-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/upx/4.0.3-f4c4d51_x86_64/upx-4.0.3-f4c4d51-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'dc9823913706ce2e9d31679fb733ebbc947b000b1e70ef80b621f6cf7fcb1efe',
|
||||
armv7l: 'dc9823913706ce2e9d31679fb733ebbc947b000b1e70ef80b621f6cf7fcb1efe',
|
||||
i686: '3944e0d6ad263b5fef6318940f7e2b67f9f236dc71f61cf33c638068e8aa3481',
|
||||
x86_64: '19c01ac6154add7e3376c01ec179230118ea87147ef72874b69a4e466d80617e'
|
||||
aarch64: 'a6eb586e86e3566185e16873529325bc4828cf1542c02c1347eec9ef06f68309',
|
||||
armv7l: 'a6eb586e86e3566185e16873529325bc4828cf1542c02c1347eec9ef06f68309',
|
||||
i686: '83bf7c39b72055cd7e035d8d70def2c82252151edd3cc0f6f203cac7b35c47dc',
|
||||
x86_64: 'f68d21c492b38e8a7e05cf02ac74455dc60799bd7734f942b188cff8b8992f84'
|
||||
})
|
||||
|
||||
# depends_on 'ucl'
|
||||
@@ -30,12 +30,9 @@ class Upx < Package
|
||||
depends_on 'glibc' # R
|
||||
|
||||
def self.build
|
||||
FileUtils.mkdir('builddir')
|
||||
Dir.chdir('builddir') do
|
||||
system "cmake #{CREW_CMAKE_OPTIONS} \
|
||||
system "cmake -B builddir #{CREW_CMAKE_OPTIONS} \
|
||||
-DUPX_CONFIG_DISABLE_GITREV=true \
|
||||
../ -G Ninja"
|
||||
end
|
||||
-G Ninja"
|
||||
system 'samu -C builddir'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user