mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Add GNU typist package
This commit is contained in:
24
packages/gtypist.rb
Normal file
24
packages/gtypist.rb
Normal file
@@ -0,0 +1,24 @@
|
||||
require 'package'
|
||||
|
||||
class Gtypist < Package
|
||||
description 'Universal typing tutor.'
|
||||
homepage 'https://www.gnu.org/software/gtypist/index.html'
|
||||
version '2.9.5'
|
||||
source_url 'http://ftp.gnu.org/gnu/gtypist/gtypist-2.9.5.tar.xz'
|
||||
source_sha256 'c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977'
|
||||
|
||||
depends_on "emacs" => :build
|
||||
depends_on "ncurses"
|
||||
depends_on "perl"
|
||||
|
||||
def self.build
|
||||
system "autoreconf"
|
||||
system "./configure", "--prefix=/usr/local"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "prefix=#{CREW_DEST_DIR}/usr/local", "install"
|
||||
system "rm", "-f", "#{CREW_DEST_DIR}/usr/local/share/info/dir"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user