mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
* 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>
40 lines
1.2 KiB
Ruby
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
|