Commit 6df16d64 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1393 from cstrouse/add-unrtf

Add unrtf package
parents f4dd93cd 41825f10
require 'package'
class Unrtf < Package
description 'UnRTF is a command-line program written in C which converts documents in Rich Text Format (.rtf) to HTML, LaTeX, troff macros, and RTF itself.'
homepage 'https://www.gnu.org/software/unrtf/'
version '0.21.9'
source_url 'https://www.gnu.org/software/unrtf/unrtf-0.21.9.tar.gz'
source_sha256 '22a37826f96d754e335fb69f8036c068c00dd01ee9edd9461a36df0085fb8ddd'
binary_url ({
})
binary_sha256 ({
})
depends_on 'glibc'
def self.build
system './bootstrap'
system './configure',
"--prefix=#{CREW_PREFIX}",
'--disable-depedency-tracking',
'--disable-maintainer-mode'
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
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