Commit 0d3aaeae authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Update ed from 1.14.2 to 1.15 (#3494)

* Update ed from 1.14.2 to 1.15

* Abstract paths

* Simplify source URL path
parent 0a1e3acb
......@@ -3,36 +3,29 @@ require 'package'
class Ed < Package
description 'GNU ed is a line-oriented text editor.'
homepage 'http://www.gnu.org/software/ed/ed.html'
version '1.14.2-1'
source_url 'http://ftpmirror.gnu.org/ed/ed-1.14.2.tar.lz'
source_sha256 'f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db'
version '1.15'
source_url 'https://ftpmirror.gnu.org/ed/ed-1.15.tar.lz'
source_sha256 'ad4489c0ad7a108c514262da28e6c2a426946fb408a3977ef1ed34308bdfd174'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ed-1.14.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ed-1.14.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ed-1.14.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ed-1.14.2-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '37fd6bd94df54bb20826ef58131893506bed51b2307fed0924481e53697b093c',
armv7l: '37fd6bd94df54bb20826ef58131893506bed51b2307fed0924481e53697b093c',
i686: 'f26afff59244acacd5ee74ff8b194350053c68b4c314142b43a0f664303bd474',
x86_64: '3f50a5390f50083ab4e3619792b65892637efe1675e8b65effe09404343d347a',
})
# only lz archive is available for ed and it requires lzip.
depends_on 'lzip' => :build
def self.build
system "./configure"
system "make"
system "./configure",
"--prefix=#{CREW_PREFIX}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
def self.check
system "make", "check"
system 'make', 'check'
end
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