Add Akonadi formula and dependencies.

master
Mike Arthur 2009-11-17 13:16:00 +00:00 committed by Max Howell
parent 4731d17805
commit 8c057bdc3c
3 changed files with 23 additions and 0 deletions

20
Formula/akonadi.rb Normal file
View File

@ -0,0 +1,20 @@
require 'formula'
class Akonadi <Formula
url 'http://download.akonadi-project.org/akonadi-1.2.1.tar.bz2'
homepage 'http://pim.kde.org/akonadi/'
md5 'f9c1d000844f31c67360078ddf60bec2'
depends_on 'cmake'
depends_on 'shared-mime-info'
depends_on 'mysql'
depends_on 'automoc4'
depends_on 'soprano'
depends_on 'boost'
depends_on 'qt'
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end

View File

@ -44,6 +44,8 @@ class Mysql <Formula
system "./configure", *configure_args
system "make install"
FileUtils.ln_s "#{prefix}/libexec/mysqld", "#{prefix}/bin/mysqld"
(prefix+'mysql-test').rmtree unless ARGV.include? '--with-tests' # save 66MB!
(prefix+'sql-bench').rmtree unless ARGV.include? '--with-bench'

View File

@ -34,6 +34,7 @@ class Qt <Formula
conf_args = ["-prefix", prefix,
"-system-sqlite", "-system-libpng", "-system-zlib",
"-plugin-sql-mysql",
"-nomake", "demos", "-nomake", "examples",
"-release", "-cocoa",
"-confirm-license", "-opensource",