Add Akonadi formula and dependencies.
parent
4731d17805
commit
8c057bdc3c
|
@ -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
|
|
@ -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'
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue