diff options
| author | Mike Arthur | 2009-11-17 13:16:00 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-05 19:09:16 +0000 |
| commit | c99ed5bade8ef9aed14445798ca8e589f1062bf5 (patch) | |
| tree | 271ecb3531faca3f601b609d6577b74b90341a48 /Library | |
| parent | 2e84760a17bc69c3f755d37abddf6ff1a6e0d490 (diff) | |
| download | homebrew-c99ed5bade8ef9aed14445798ca8e589f1062bf5.tar.bz2 | |
Add Akonadi formula and dependencies.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/akonadi.rb | 20 | ||||
| -rw-r--r-- | Library/Formula/mysql.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/qt.rb | 1 |
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", |
