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/'
|
2012-11-19 01:30:04 +00:00
|
|
|
url 'http://cclive.googlecode.com/files/cclive-0.7.10.tar.xz'
|
|
|
|
sha1 'ca89731073eeda0eb9ccdf3e6cbaca13029f55cb'
|
2010-04-10 13:51:55 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-10 13:51:55 +00:00
|
|
|
depends_on 'quvi'
|
2011-11-26 07:36:52 +00:00
|
|
|
depends_on 'boost'
|
|
|
|
|
|
|
|
# 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
|