2013-04-09 13:39:43 +00:00
|
|
|
class Blitzwave < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C++ wavelet library"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://oschulz.github.io/blitzwave"
|
|
|
|
url "https://github.com/oschulz/blitzwave/archive/v0.8.0.tar.gz"
|
|
|
|
sha256 "edb0b708a0587e77b8e0aa3387b44f4e838855c17e896a8277bb80fbe79b9a63"
|
2013-04-09 13:39:43 +00:00
|
|
|
|
2014-06-01 01:39:24 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
depends_on "blitz"
|
2013-04-09 13:39:43 +00:00
|
|
|
|
2014-03-19 04:39:09 +00:00
|
|
|
# an automake tweak to fix compiling
|
|
|
|
# reported upstream: https://github.com/oschulz/blitzwave/issues/2
|
|
|
|
patch :DATA
|
|
|
|
|
2013-04-09 13:39:43 +00:00
|
|
|
def install
|
2014-03-19 04:39:09 +00:00
|
|
|
system "./autogen.sh"
|
2013-04-09 13:39:43 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|
2014-03-19 04:39:09 +00:00
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
|
|
index 8d28d78..2bfe06f 100644
|
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
|
|
|
@@ -8,6 +8,7 @@ AM_INIT_AUTOMAKE([-Wall -Werror])
|
|
|
|
AC_PROG_CXX
|
|
|
|
AC_LIBTOOL_DLOPEN
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
+AM_PROG_AR
|
|
|
|
|
|
|
|
AC_CHECK_PROGS(DOXYGEN, doxygen, false)
|
|
|
|
AM_CONDITIONAL([COND_DOXYGEN], [test "$DOXYGEN" != "false"])
|