Commit 4ccd16e1 authored by Ed Reel's avatar Ed Reel

Update sed from 4.1.5 to 4.5

Add pre-built binaries
parent 5d6ec65c
......@@ -3,27 +3,25 @@ require 'package'
class Sed < Package
description 'sed (stream editor) is a non-interactive command-line text editor.'
homepage 'https://www.gnu.org/software/sed/'
version '4.1.5'
source_url 'https://ftpmirror.gnu.org/sed/sed-4.1.5.tar.gz'
source_sha256 'be955bef7a81d69222e929689e0de0ecf64c13dc5b15b2ee5696d5ef66fdeec0'
version '4.5'
source_url 'https://ftpmirror.gnu.org/sed/sed-4.5.tar.xz'
source_sha256 '7aad73c8839c2bdadca9476f884d2953cdace9567ecd0d90f9959f229d146b40'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.1.5-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sed-4.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '70e097dc6cc82ddb5b840aa57a6495d8a48788e2b9ff72ff866d9addcddb91bb',
armv7l: '70e097dc6cc82ddb5b840aa57a6495d8a48788e2b9ff72ff866d9addcddb91bb',
i686: '56cc17109f324dbb5a0a2eecef1049edb5c1b703168ae94bf05a41bfe8fb10ae',
x86_64: 'b5dae5c90e468223d92e97e40cb4fbd827bf3af5e9aad3812afa85419efa475d',
aarch64: '2a73a70e5436d994a10cade4eb4d2838ea11eefa5840358a184c4dbe57838bbb',
armv7l: '2a73a70e5436d994a10cade4eb4d2838ea11eefa5840358a184c4dbe57838bbb',
i686: 'af4cb9eed54543196ffedd805d04646eb01f0106385aa886eabfb86ff04a95a3',
x86_64: '9539a9e450d9bde9382382c3878d52781f9bf7634e6416b216c44e4f3674d628',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "sed -i 's, po , ,g' Makefile"
system "sed -i 's,sed -e,sed,g' Makefile"
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