mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
This is an autotool- and libtoolized port of the NetBSD Editline library (libedit). This Berkeley-style licensed command line editor library provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline. Tested as working on Samsung XE50013-K01US. No tests for libedit.
17 lines
402 B
Ruby
17 lines
402 B
Ruby
require 'package'
|
|
|
|
class Libedit < Package
|
|
version '3.1'
|
|
source_url 'http://thrysoee.dk/editline/libedit-20160903-3.1.tar.gz'
|
|
source_sha1 '55e327ee4661b13d20ebb411d790f2bb258271cf'
|
|
|
|
def self.build
|
|
system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"'
|
|
system "make"
|
|
end
|
|
|
|
def self.install
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
|
end
|
|
end
|