27 lines
941 B
Ruby
27 lines
941 B
Ruby
class Compface < Formula
|
|
desc "Convert to and from the X-Face format"
|
|
homepage "http://freecode.com/projects/compface"
|
|
url "http://ftp.xemacs.org/pub/xemacs/aux/compface-1.5.2.tar.gz"
|
|
sha256 "a6998245f530217b800f33e01656be8d1f0445632295afa100e5c1611e4f6825"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "50200eb6f7cb61be39420d2e127eb4e2af9391a514f7cfbd26fa9203ca137d21" => :el_capitan
|
|
sha256 "4f7a202ead9c7b6ba1498be71c937500d64cad15ae451ec37c54a8fba70816a0" => :yosemite
|
|
sha256 "3208feb3c0055906ee163662c0d5b5cbe561222128a0979f6e159110973ee3fa" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}"
|
|
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system bin/"uncompface"
|
|
end
|
|
end
|