aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike Arthur2009-11-17 13:16:00 +0000
committerMax Howell2009-12-05 19:09:16 +0000
commitc99ed5bade8ef9aed14445798ca8e589f1062bf5 (patch)
tree271ecb3531faca3f601b609d6577b74b90341a48 /Library
parent2e84760a17bc69c3f755d37abddf6ff1a6e0d490 (diff)
downloadhomebrew-c99ed5bade8ef9aed14445798ca8e589f1062bf5.tar.bz2
Add Akonadi formula and dependencies.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/akonadi.rb20
-rw-r--r--Library/Formula/mysql.rb2
-rw-r--r--Library/Formula/qt.rb1
3 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/akonadi.rb b/Library/Formula/akonadi.rb
new file mode 100644
index 000000000..828758b42
--- /dev/null
+++ b/Library/Formula/akonadi.rb
@@ -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
diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb
index 4ccc5aa3e..72ff0ec30 100644
--- a/Library/Formula/mysql.rb
+++ b/Library/Formula/mysql.rb
@@ -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'
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb
index c5057bc71..6ac7370bf 100644
--- a/Library/Formula/qt.rb
+++ b/Library/Formula/qt.rb
@@ -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",