2015-01-18 18:37:55 +00:00
|
|
|
class Lcab < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Cabinet file creation tool"
|
2015-01-18 18:37:55 +00:00
|
|
|
homepage "http://ohnopub.net/~ohnobinki/lcab/"
|
2016-02-28 01:34:59 +00:00
|
|
|
url "http://mirror.ohnopub.net/mirror/lcab-1.0b12.tar.gz"
|
2015-01-18 18:37:55 +00:00
|
|
|
mirror "https://launchpad.net/ubuntu/intrepid/+source/lcab/1.0b12-3/+files/lcab_1.0b12.orig.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8"
|
2015-01-18 18:37:55 +00:00
|
|
|
|
2015-01-18 20:02:37 +00:00
|
|
|
bottle do
|
2016-02-28 19:03:17 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
revision 1
|
|
|
|
sha256 "7a6d3c838ed1ac609c130954379432cfab8558f8898117360ae7a70fbc28b743" => :el_capitan
|
|
|
|
sha256 "1f17ca05d8365b47b6cd9949e985a99bedf1dc6b4cb0dcf88715e02e584433d8" => :yosemite
|
|
|
|
sha256 "56f01c24e8814d4a719597bb364c1c94d38e45f57ae216d349aa05056c67e78a" => :mavericks
|
2015-01-18 20:02:37 +00:00
|
|
|
end
|
|
|
|
|
2015-01-18 18:37:55 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
(testpath/"test").write "a test"
|
|
|
|
|
|
|
|
system "#{bin}/lcab", "test", "test.cab"
|
|
|
|
assert File.exist? "test.cab"
|
|
|
|
end
|
|
|
|
end
|