mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
24 lines
462 B
Ruby
24 lines
462 B
Ruby
require 'package'
|
|
|
|
class Ed < Package
|
|
version '1.14.2'
|
|
source_url 'http://ftpmirror.gnu.org/ed/ed-1.14.2.tar.lz'
|
|
source_sha1 '3e8aa331ffbc929884107ff3f8fbd76d01252277'
|
|
|
|
# only lz archive is available for ed and it requires lzip.
|
|
depends_on 'lzip'
|
|
|
|
def self.build
|
|
system "./configure"
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
|
|
def self.check
|
|
system "make", "check"
|
|
end
|
|
end
|