mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* 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>
34 lines
1.0 KiB
Ruby
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
|