2010-04-10 13:51:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cclive < Formula
|
2011-11-26 07:36:52 +00:00
|
|
|
homepage 'http://cclive.sourceforge.net/'
|
2013-03-28 23:37:03 +00:00
|
|
|
url 'http://sourceforge.net/projects/cclive/files/0.7/cclive-0.7.12.tar.xz'
|
|
|
|
sha1 'e921063f538032cf573793042b097cd35f1722f1'
|
2010-04-10 13:51:55 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:29:01 +00:00
|
|
|
depends_on 'xz' => :build
|
2010-04-10 13:51:55 +00:00
|
|
|
depends_on 'quvi'
|
2011-11-26 07:36:52 +00:00
|
|
|
depends_on 'boost'
|
2013-02-09 03:23:07 +00:00
|
|
|
depends_on 'pcre'
|
2011-11-26 07:36:52 +00:00
|
|
|
|
|
|
|
# Fix linking against Boost during configure. See:
|
|
|
|
# https://trac.macports.org/ticket/29982
|
|
|
|
def patches
|
|
|
|
{:p0 =>
|
|
|
|
"https://trac.macports.org/export/82481/trunk/dports/net/cclive/files/patch-configure.diff"
|
|
|
|
}
|
|
|
|
end
|
2010-04-10 13:51:55 +00:00
|
|
|
|
|
|
|
def install
|
2011-11-26 07:36:52 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-04-10 13:51:55 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-05-30 09:46:41 +00:00
|
|
|
end
|