Commit fb658435 authored by Casey Strouse's avatar Casey Strouse

Update nano from 2.8.7 to 2.9.0

This is a bugfix and maintenance release.

Tested as working on Samsung Chromebook Plus (aarch64).
parent e1c5a74d
...@@ -3,33 +3,26 @@ require 'package' ...@@ -3,33 +3,26 @@ require 'package'
class Nano < Package class Nano < Package
description 'Nano\'s ANOther editor, an enhanced free Pico clone.' description 'Nano\'s ANOther editor, an enhanced free Pico clone.'
homepage 'https://www.nano-editor.org/' homepage 'https://www.nano-editor.org/'
version '2.8.7' version '2.9.0'
source_url 'https://www.nano-editor.org/dist/v2.8/nano-2.8.7.tar.xz' source_url 'https://www.nano-editor.org/dist/v2.9/nano-2.9.0.tar.xz'
source_sha256 'fbe31746958698d73c6726ee48ad8b0612697157961a2e9aaa83b4aa53d1165a' source_sha256 'd2d30c39caef53aba1ec1b4baff4186d4496f35d2411b0848242a5f2e27e129e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/nano-2.8.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/nano-2.8.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/nano-2.8.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/nano-2.8.7-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '742a93d42fd8f11ce1af41c4d09dc693c2837a6bda2cd6d1b31c9745e412acf6',
armv7l: '742a93d42fd8f11ce1af41c4d09dc693c2837a6bda2cd6d1b31c9745e412acf6',
i686: '6e146aad6426965477de0ff619d17cd764a59c806fd9dfb883a78d892ce1ef8f',
x86_64: 'b24e555f0d859c30deb50c2c1e754812dfbb790091d031a15c1defa8e71cd4e3',
}) })
depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'filecmd' depends_on 'filecmd'
def self.build def self.build
system "./configure CPPFLAGS=\"-I/usr/local/include/ncurses\"" system "./configure \
system "make" --prefix=#{CREW_PREFIX} \
CPPFLAGS=\"-I#{CREW_PREFIX}/include/ncurses\""
system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end end
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