ascii 3.15
Closes Homebrew/homebrew#38774. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
0f0ac9b0e8
commit
19609270a9
1 changed files with 14 additions and 7 deletions
|
@ -1,14 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class Ascii < Formula
|
||||
homepage 'http://www.catb.org/~esr/ascii/'
|
||||
url 'http://www.catb.org/~esr/ascii/ascii-3.14.tar.gz'
|
||||
sha1 'fd8281078c1b3d52d4080ced1855f4f540d5a501'
|
||||
homepage "http://www.catb.org/~esr/ascii/"
|
||||
url "http://www.catb.org/~esr/ascii/ascii-3.15.tar.gz"
|
||||
sha256 "ace1db8b64371d53d9ad420d341f2b542324ae70437e37b4b75646f12475ff5f"
|
||||
|
||||
head do
|
||||
url "git://thyrsus.com/repositories/ascii.git"
|
||||
depends_on "xmlto" => :build
|
||||
end
|
||||
|
||||
def install
|
||||
if build.head?
|
||||
ENV["XML_CATALOG_FILES"] = HOMEBREW_PREFIX/"etc/xml/catalog"
|
||||
end
|
||||
bin.mkpath
|
||||
man1.mkpath
|
||||
system "make"
|
||||
bin.install "ascii"
|
||||
man1.install 'ascii.1'
|
||||
system "make", "PREFIX=#{prefix}", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue