aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/automoc4.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-21 21:12:27 -0800
committerAdam Vandenberg2012-02-24 21:35:51 -0800
commit531a5765099c95f56c0455e0a4686b8952569105 (patch)
tree4e2802cb1e71f7af44e7e266fac678fb1a90b008 /Library/Formula/automoc4.rb
parent55f3c49a9e27d88fbfecc48d982bf0f31414f9a5 (diff)
downloadhomebrew-531a5765099c95f56c0455e0a4686b8952569105.tar.bz2
Put source path last in cmake args
Diffstat (limited to 'Library/Formula/automoc4.rb')
-rw-r--r--Library/Formula/automoc4.rb13
1 files changed, 7 insertions, 6 deletions
diff --git a/Library/Formula/automoc4.rb b/Library/Formula/automoc4.rb
index 0556047ba..9e19ee29a 100644
--- a/Library/Formula/automoc4.rb
+++ b/Library/Formula/automoc4.rb
@@ -1,25 +1,26 @@
require 'formula'
class Automoc4 < Formula
- url 'ftp://ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2'
homepage 'http://techbase.kde.org/Development/Tools/Automoc4'
+ url 'ftp://ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2'
md5 '91bf517cb940109180ecd07bc90c69ec'
depends_on 'cmake' => :build
depends_on 'qt'
- def install
- system "cmake . #{std_cmake_parameters}"
- system "make install"
- end
-
def patches
# Patch needed to find Qt in Homebrew upstreamed but upstream version
# does not apply. Won't be needed for next version.
# https://projects.kde.org/projects/kdesupport/automoc/repository/revisions/6b9597ff
{ :p0 => DATA }
end
+
+ def install
+ system "cmake #{std_cmake_parameters} ."
+ system "make install"
+ end
end
+
__END__
--- kde4automoc.cpp.old 2009-01-22 18:50:09.000000000 +0000
+++ kde4automoc.cpp 2010-03-15 22:26:03.000000000 +0000