2011-03-10 05:11:03 +00:00
|
|
|
class Cuetools < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Utilities for .cue and .toc files"
|
2014-06-19 20:56:55 +00:00
|
|
|
homepage "https://github.com/svend/cuetools"
|
|
|
|
url "https://github.com/svend/cuetools/archive/1.4.0.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "5dc86e9736929757b338827efa0ecae1b2fcee2273debc718511749a4178ddf6"
|
2014-06-19 20:56:55 +00:00
|
|
|
|
|
|
|
head "https://github.com/svend/cuetools.git"
|
|
|
|
|
2014-06-19 21:36:19 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "9e4a137755218db67958c1dd0d700a0a5f8f05d2" => :mavericks
|
|
|
|
sha1 "4ef7bdce473feaa1fe4d3e5ea1b71b8d2d43f627" => :mountain_lion
|
|
|
|
sha1 "c21d19db598c92f1829c6b92bdafa0215cd33a6f" => :lion
|
|
|
|
end
|
|
|
|
|
2014-12-04 17:01:20 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2014-06-19 20:56:55 +00:00
|
|
|
|
|
|
|
# see https://github.com/svend/cuetools/pull/18
|
|
|
|
patch :DATA
|
2010-01-03 21:06:16 +00:00
|
|
|
|
|
|
|
def install
|
2014-06-19 20:56:55 +00:00
|
|
|
system "autoreconf", "-i"
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2010-01-03 21:06:16 +00:00
|
|
|
end
|
|
|
|
end
|
2014-06-19 20:56:55 +00:00
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
|
|
index f54bb92..84ab467 100644
|
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
AC_INIT([cuetools], [1.4.0], [svend@ciffer.net])
|
|
|
|
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
|
|
|
+AM_INIT_AUTOMAKE([-Wall -Werror -Wno-extra-portability foreign])
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_RANLIB
|