Commit b05ee130 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Update LHA package (#3112)

parent 38d17a0c
......@@ -2,26 +2,25 @@ require 'package'
class Lha < Package
description 'LHa for UNIX is a console-based utility that uncompresses and compresses .lha packages.'
homepage 'http://freecode.com/projects/lhaforunix'
version '1.14i-ac20050924p1'
source_url 'http://prdownloads.sourceforge.jp/lha/22231/lha-1.14i-ac20050924p1.tar.gz'
source_sha256 'b5261e9f98538816aa9e64791f23cb83f1632ecda61f02e54b6749e9ca5e9ee4'
homepage 'https://lha.osdn.jp/'
version '6f6cbc1'
source_url 'https://github.com/jca02266/lha/archive/6f6cbc1.tar.gz'
source_sha256 'b081f600fd34ab99d5ddf085d0667bc4fa3e44362843935236592ddd999f084f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lha-1.14i-ac20050924p1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lha-1.14i-ac20050924p1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lha-1.14i-ac20050924p1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lha-1.14i-ac20050924p1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '91d78303d21513770339e9a6ca3ec64cb285038b8f9957beee7ef33bd9ff1ee4',
armv7l: '91d78303d21513770339e9a6ca3ec64cb285038b8f9957beee7ef33bd9ff1ee4',
i686: '4a841f670a5555e50e352f1d189709c7c221492dc851091650c6da3d3efa63a2',
x86_64: '9280e8721afc828eaaa7b9d8b26550ccef1356e51b841363e83425b1588092ff',
})
def self.patch
system "sed -i 's/lha_LDADD.*/& -liconv/' src/Makefile.am"
end
def self.build
system './configure'
system 'autoreconf -sif'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment