blob: 476e01358b23757035395228cfb627d00fc38d66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'formula'
class KdebaseRuntime < Formula
homepage 'http://www.kde.org/'
url 'ftp://ftp.kde.org/pub/kde/stable/4.6.0/src/kdebase-runtime-4.6.0.tar.bz2'
md5 '1f9d6bc64d7b84a74dd3ab06615c71ce'
depends_on 'cmake' => :build
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
|