2010-04-18 13:20:03 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class KdebaseRuntime <Formula
|
2010-10-16 20:54:24 +00:00
|
|
|
url 'ftp://ftp.kde.org/pub/kde/stable/4.5.2/src/kdebase-runtime-4.5.2.tar.bz2'
|
|
|
|
homepage 'http://www.kde.org/'
|
|
|
|
md5 '6503a445c52fc1055152d46fca56eb0a'
|
2010-04-18 13:20:03 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2010-04-18 13:20:03 +00:00
|
|
|
depends_on 'kde-phonon'
|
|
|
|
depends_on 'oxygen-icons'
|
|
|
|
|
|
|
|
def install
|
|
|
|
phonon = Formula.factory 'kde-phonon'
|
|
|
|
system "cmake . #{std_cmake_parameters} -DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib -DBUNDLE_INSTALL_DIR=#{bin}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|