aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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",