-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathkf5-ktexteditor.rb
31 lines (25 loc) · 907 Bytes
/
kf5-ktexteditor.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require "formula"
class Kf5Ktexteditor < Formula
url "http://download.kde.org/stable/frameworks/5.1.0/ktexteditor-5.1.0.tar.xz"
sha1 "6c8d3ca2b08b641c3e0cc4405eb9126e33978aaf"
homepage "http://www.kde.org/"
head 'git://anongit.kde.org/ktexteditor.git'
depends_on "cmake" => :build
depends_on "haraldf/kf5/kf5-extra-cmake-modules" => :build
depends_on "qt5" => "with-d-bus"
depends_on "haraldf/kf5/kf5-karchive"
depends_on "haraldf/kf5/kf5-kjs"
depends_on "haraldf/kf5/kf5-ki18n"
depends_on "haraldf/kf5/kf5-kconfig"
depends_on "haraldf/kf5/kf5-kguiaddons"
depends_on "haraldf/kf5/kf5-kjobwidgets"
depends_on "haraldf/kf5/kf5-kio"
depends_on "haraldf/kf5/kf5-kparts"
def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
end