mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
25 lines
664 B
Ruby
25 lines
664 B
Ruby
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
|