mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Update gawk, modify glibc_standalone Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update build for glibc... Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Disable upx. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update binaries Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust builder to do an upgrade before a build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Do not let the crew upgrade during build kill the build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add i686 binary Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/amd64 to glibc_standalone_rebuild * Add built packages for linux/arm/v7 to glibc_standalone_rebuild --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
40 lines
1.4 KiB
Ruby
40 lines
1.4 KiB
Ruby
require 'buildsystems/autotools'
|
|
|
|
class Gawk < Autotools
|
|
description 'The gawk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.'
|
|
homepage 'https://www.gnu.org/software/gawk/'
|
|
version '5.3.2'
|
|
license 'GPL-2'
|
|
compatibility 'all'
|
|
source_url "https://ftpmirror.gnu.org/gawk/gawk-#{version}.tar.xz"
|
|
source_sha256 'f8c3486509de705192138b00ef2c00bbbdd0e84c30d5c07d23fc73a9dc4cc9cc'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '154f49e5a9b9851c0301a98d16b94d962cb1f664c59e3f7d1750539c221efc6d',
|
|
armv7l: '154f49e5a9b9851c0301a98d16b94d962cb1f664c59e3f7d1750539c221efc6d',
|
|
i686: 'c1e0bce5e9d858e5d16107037a031e8e6b10d26f7e5eeb45ce2c8e0873a3f72a',
|
|
x86_64: '637fa0913219b0072b6992176489c937784de2a9a95db29f20c9807d54d18f50'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
depends_on 'gmp' # R
|
|
depends_on 'libsigsegv' # R
|
|
depends_on 'mpfr' # R
|
|
depends_on 'ncurses' => :build
|
|
depends_on 'readline' # R
|
|
|
|
no_shrink
|
|
|
|
# Tests on i686 run out of memory.
|
|
# Tests appear to have container issues on other platforms.
|
|
# run_tests unless ARCH == 'i686'
|
|
|
|
configure_options '--without-libsigsegv-prefix'
|
|
|
|
configure_install_extras do
|
|
# Remove conflict with #{CREW_PREFIX}/bin/awk from mawk package
|
|
FileUtils.rm "#{CREW_DEST_PREFIX}/bin/awk"
|
|
end
|
|
end
|