homebrew-core/Formula/libdbusmenu-qt.rb
2015-06-05 14:47:57 +01:00

21 lines
535 B
Ruby

require 'formula'
class LibdbusmenuQt < Formula
desc "C++ dbusmenu library for Qt"
homepage 'https://launchpad.net/libdbusmenu-qt'
url 'http://launchpad.net/libdbusmenu-qt/trunk/0.9.2/+download/libdbusmenu-qt-0.9.2.tar.bz2'
sha1 '308cc53a4a1f2db40f8ffbcfc71e987a4839ec45'
depends_on 'cmake' => :build
depends_on 'doxygen' => :build
depends_on 'qt'
depends_on 'qjson'
def install
mkdir 'macbuild' do
args = std_cmake_args + ['..']
system "cmake", *args
system "make install"
end
end
end