Files
chromebrew/packages/libpth.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

34 lines
1.0 KiB
Ruby

require 'package'
class Libpth < Package
description 'Pth is a very portable POSIX/ANSI-C based library for Unix platforms'
homepage 'https://www.gnu.org/software/pth/'
version '2.0.7'
license 'LGPL-2.1+'
compatibility 'all'
source_url 'https://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz'
source_sha256 '72353660c5a2caafd601b20e12e75d865fd88f6cf1a088b306a3963f0bc77232'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '6df029d8c9a59cc6bfba3308d362589b5d32e72fecc282dfb6e05e67fac6c387',
armv7l: '6df029d8c9a59cc6bfba3308d362589b5d32e72fecc282dfb6e05e67fac6c387',
i686: '49344c2b2eafe8f4490b94bed951b8e7eb31bb45c358d21f531fcd9741e412c6',
x86_64: 'b82687dc8d4525dd8deee18576ae9ffbb149c2a7a378de68db60fd12de3f6b12'
})
depends_on 'glibc' # R
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--enable-optimize'
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end