Commit d32dd7a7 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #845 from jam7/update/texinfo

Update texinfo.rb to 6.4 and change configure option to support unicode
parents e7bc0270 0525419a
...@@ -3,16 +3,30 @@ require 'package' ...@@ -3,16 +3,30 @@ require 'package'
class Texinfo < Package class Texinfo < Package
description 'Texinfo is the official documentation format of the GNU project.' description 'Texinfo is the official documentation format of the GNU project.'
homepage 'https://www.gnu.org/software/texinfo/' homepage 'https://www.gnu.org/software/texinfo/'
version '6.3' version '6.4'
source_url 'http://ftp.gnu.org/gnu/texinfo/texinfo-6.3.tar.gz' source_url 'http://ftpmirror.gnu.org/texinfo/texinfo-6.4.tar.xz'
source_sha256 '300a6ba4958c2dd4a6d5ce60f0a335daf7e379f5374f276f6ba31a221f02f606' source_sha256 '6ae2e61d87c6310f9af7c6f2426bd0470f251d1a6deb61fba83a3b3baff32c3a'
depends_on 'gettext' => :build
depends_on 'perl'
depends_on 'ncurses'
def self.build def self.build
system "./configure" # installing necessary perl modules
system 'cpan', 'install', 'CPAN', 'Locale::Messages', 'Text::Unidecode', 'Unicode::EastAsianWidth'
# configure and make
system './configure',
'--with-external-Text-Unidecode',
'--with-external-Unicode-EastAsianWidth'
system "make" 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
def self.check
system "make check"
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