2010-04-10 13:51:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cclive < Formula
|
2012-06-02 17:11:33 +00:00
|
|
|
url 'http://cclive.googlecode.com/files/cclive-0.7.9.tar.bz2'
|
2011-11-26 07:36:52 +00:00
|
|
|
homepage 'http://cclive.sourceforge.net/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9e55508f5a98f8dade4b307392fbf0dcebde0633'
|
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
|