Files
chromebrew/packages/gdbm.rb
Satadru Pramanik, DO, MPH, MEng 3e0e7f9c00 Adjust gnu sources to not use ftpmirror. — a2ps: 4.15.6 → 4.15.6,alive: 2.0.5 → 2.0.5,aspell_fr: 0.50-3 → 0.50-3,autoconf: 2.72 → 2.72,autoconf_archive: 2024.10.16 → 2024.10.16,automake: 1.18.1 → 1.18.1,bc: 1.08.2 → 1.08.2,bison: 3.8.... (#14775)
* Adjust gnu sources to not use ftpmirror.

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

* ed => 1.22.5

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

* Mark packages from successful builds as automatically buildable.

* gnu_avoid_ftpmirror: Package File Update Run on linux/386 container.

* gnu_avoid_ftpmirror: Package File Update Run on linux/amd64 container.

* gnu_avoid_ftpmirror: Package File Update Run on linux/arm/v7 container.

* Truncate PR Title length as per GitHub requirements.

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

* Adjust gnuastro compatibility.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
2026-02-23 19:25:09 +00:00

39 lines
1.1 KiB
Ruby

require 'package'
class Gdbm < Package
description 'GNU dbm is a set of database routines that use extensible hashing.'
homepage 'https://www.gnu.org/software/gdbm/'
version '1.26'
license 'GPL-3'
compatibility 'all'
source_url "https://ftp.gnu.org/gnu/gdbm/gdbm-#{version}.tar.gz"
source_sha256 '6a24504a14de4a744103dcb936be976df6fbe88ccff26065e54c1c47946f4a5e'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '089093bffd085579851130358eb0670438758dd75fcca59fa820c3fcd4c686a1',
armv7l: '089093bffd085579851130358eb0670438758dd75fcca59fa820c3fcd4c686a1',
i686: 'e0a4d2b9cb6ed1d9ad0f26045861647d895d84fd7c2e73a1ad9a23977dadf25c',
x86_64: '253f28e1e424ac6cd8d4cabe39b89297d98390d98aed0a686774b1dd75304f26'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'ncurses' => :executable_only
depends_on 'readline' => :executable_only
def self.build
system "./configure \
#{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system 'make', 'check'
end
end