Files
chromebrew/packages/readline.rb
Satadru Pramanik, DO, MPH, MEng 3fbdb53c5f version.rb: Allow rust package version to be updated. — perl_libintl_perl → 1.35,ag → 2.2.0,autoconf → 2.72,brotli → 1.1.0,buildessential,bzip2 → 1.0.8-2,doxygen → 1.14.0,findutils → 4.10.0,flex → 2.6.4-2,gmp → 6.3.0,gnu_time → 1.9,intltool → 0.51.0-1,libunbound → 1.24.0,linuxheaders → 6.11,make → 4.4.1,mawk → 1.3.4-20250131,patch → 2.8,pcre → 8.45,perl_text_unidecode → 1.30,perl_unicode_eastasianwidth → 12.0,perl_xml_parser → 2.47,popt → 1.19,progress → 0.17,rdfind → 1.7.0,readline → 8.3,slang → 2.3.3,tar → 1.35,texinfo → 7.2,xdg_base → 0.8,zlib → 1.3.1-3 (#12860)
* version.rb: Allow rust package version to be updated.

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

* Update xdg_base package.

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

* perl_locale_messages => perl_libintl_perl

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

* popt => 1.19

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

* mawk => 1.3.4-20250131

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

* rdfind => 1.7.0

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

* doxygen => 1.14.0

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

* Fixup anitya mappings and package versions.

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

* libunbound => 1.24.0

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

* progress => 0.17

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

* Update ag

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

* Adjust packages.yml

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

* Add gnu_time to essential packages since it is used in tests.

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

* suggested changes

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

* more suggested changes

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2025-09-19 19:51:53 +00:00

40 lines
1.2 KiB
Ruby

require 'package'
class Readline < Package
description 'The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are typed in.'
homepage 'https://www.gnu.org/software/readline'
version '8.3'
license 'GPL-2'
compatibility 'all'
source_url 'https://git.savannah.gnu.org/git/readline.git'
git_hashtag "readline-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '03591d5160e17e7f9625e3621a61770c969e46d5bacd6451d8849ad029020f02',
armv7l: '03591d5160e17e7f9625e3621a61770c969e46d5bacd6451d8849ad029020f02',
i686: '445ce86768f5f9c68b40b4ea63f14e90a0f7c5737b1b0e7a2757e2f4c4534c06',
x86_64: '8063bcca47645dd5cef9182cc82aafce3871accda72dd19969e67362133293dc'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'ncurses' # R
def self.build
system "./configure \
#{CREW_CONFIGURE_OPTIONS} \
--with-curses \
--enable-multibyte"
system 'make', 'SHLIB_LIBS=-Wl,--as-needed -Wl,-ltinfow -Wl,--no-as-needed'
end
def self.check
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end