homebrew-core/Formula/kdebase-runtime.rb

18 lines
542 B
Ruby
Raw Normal View History

2010-04-18 13:20:03 +00:00
require 'formula'
class KdebaseRuntime <Formula
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
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