mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
LHa 6f6cbc1 -> 2695022 (#8339)
* LHa 6f6cbc1 -> 2695022 * add binaries --------- Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b2545edb7a
commit
d6dec1b403
@@ -1,2 +1,2 @@
|
||||
/usr/local/bin/lha
|
||||
/usr/local/share/man/man1/lha.1.gz
|
||||
/usr/local/share/man/man1/lha.1.zst
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
/usr/local/bin/lha
|
||||
/usr/local/share/man/man1/lha.1.gz
|
||||
/usr/local/share/man/man1/lha.1.zst
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
/usr/local/bin/lha
|
||||
/usr/local/share/man/man1/lha.1.gz
|
||||
/usr/local/share/man/man1/lha.1.zst
|
||||
|
||||
@@ -3,34 +3,30 @@ require 'package'
|
||||
class Lha < Package
|
||||
description 'LHa for UNIX is a console-based utility that uncompresses and compresses .lha packages.'
|
||||
homepage 'https://lha.osdn.jp/'
|
||||
version '6f6cbc1'
|
||||
version '2695022'
|
||||
license 'lha'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/jca02266/lha/archive/6f6cbc1.tar.gz'
|
||||
source_sha256 'b081f600fd34ab99d5ddf085d0667bc4fa3e44362843935236592ddd999f084f'
|
||||
source_url 'https://github.com/jca02266/lha.git'
|
||||
git_hashtag '26950220c9c7590fd603ecaa54a12a52371affed'
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/6f6cbc1_armv7l/lha-6f6cbc1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/6f6cbc1_armv7l/lha-6f6cbc1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/6f6cbc1_i686/lha-6f6cbc1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/6f6cbc1_x86_64/lha-6f6cbc1-chromeos-x86_64.tar.xz'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/2695022_armv7l/lha-2695022-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/2695022_armv7l/lha-2695022-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/2695022_i686/lha-2695022-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/lha/2695022_x86_64/lha-2695022-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: '8fa5dd3a57a9da3ffe245f1417f746da3c6d712e4436dcad67a71ec34e1c2e94',
|
||||
armv7l: '8fa5dd3a57a9da3ffe245f1417f746da3c6d712e4436dcad67a71ec34e1c2e94',
|
||||
i686: '8b5d6ed5ffb6118b36ab7a1ab93519003694fc18b5203ca4f885447aa023965b',
|
||||
x86_64: 'e1894e33a4ed0932a493d049007e8d4ac70d94ec5e46247a04d448f23bf32c5d'
|
||||
aarch64: 'a9e93c81eef64714252d453f98843a2d6b00c43bbcc9b4c67c3aabeb8365db50',
|
||||
armv7l: 'a9e93c81eef64714252d453f98843a2d6b00c43bbcc9b4c67c3aabeb8365db50',
|
||||
i686: 'f3f0e76166650dafe0874af2b10b650f3e826503e1be6cacae4275d03fe6a918',
|
||||
x86_64: 'b5ac02857046c1673acdb928c7a189ee350d9b0babdaaea1661c39fc81328590'
|
||||
})
|
||||
|
||||
def self.patch
|
||||
system "sed -i 's/lha_LDADD.*/& -liconv/' src/Makefile.am"
|
||||
end
|
||||
depends_on 'glibc_lib' # R
|
||||
|
||||
def self.build
|
||||
system 'autoreconf -sif'
|
||||
system './configure',
|
||||
"--prefix=#{CREW_PREFIX}",
|
||||
"--libdir=#{CREW_LIB_PREFIX}"
|
||||
system "./configure #{CREW_OPTIONS}"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user