Files
chromebrew/packages/bash.rb
github-actions[bot] 4702a821ee AutoBuild: bash started at 2025-07-05-02UTC (#12143)
* bash => 5.3

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to bash

* Add built packages for linux/amd64 to bash

* Add built packages for linux/arm/v7 to bash

---------

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>
2025-07-05 02:44:27 +00:00

36 lines
1.2 KiB
Ruby

require 'buildsystems/autotools'
class Bash < Autotools
description 'The GNU Bourne Again SHell is a Bourne-compatible shell with useful csh and ksh features.'
homepage 'https://www.gnu.org/software/bash/'
version '5.3'
license 'GPL-3'
compatibility 'all'
source_url 'https://git.savannah.gnu.org/git/bash.git'
# Bash patch commits aren't tagged or anything, although this commit does correspond to the patchlevel we're shipping.
git_hashtag "bash-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'edf4806e698f0663dd885b7fe68028275258fd8599720f190b61cb142426b1e8',
armv7l: 'edf4806e698f0663dd885b7fe68028275258fd8599720f190b61cb142426b1e8',
i686: '3cb24f94dc23376310414a6c4605d1a509c19291abac7abd134e6022f78ecf2b',
x86_64: 'df13b7b2370480f8bc89481562a8ec40ca809f01d76cd57ad1ac99e1d69d52b4'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'ncurses' # R
depends_on 'readline' # R
autotools_configure_options '--with-curses \
--enable-extended-glob-default \
--enable-readline \
--without-bash-malloc \
--with-installed-readline'
autotools_install_extras do
FileUtils.ln_s "#{CREW_PREFIX}/bin/bash", "#{CREW_DEST_PREFIX}/bin/sh"
end
end