uudeview: install headers and library.

Closes Homebrew/homebrew#36595.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
James Kruth 2015-02-06 04:10:55 -05:00 committed by Mike McQuaid
parent 70ace344ce
commit 194b9549d7

View file

@ -5,6 +5,7 @@ class Uudeview < Formula
homepage 'http://www.fpx.de/fp/Software/UUDeview/'
url 'http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz'
sha1 '2c6ab7d355b545218bd0877d598bd5327d9fd125'
revision 1
# Fix function signatures (for clang)
patch :p0 do
@ -17,6 +18,11 @@ class Uudeview < Formula
"--mandir=#{man}",
"--disable-tcl"
system "make install"
# uudeview provides the public library libuu, but no way to install it.
# Since the package is unsupported, upstream changes are unlikely to occur.
# Install the library and headers manually for now.
lib.install "uulib/libuu.a"
include.install "uulib/uudeview.h"
end
test do