Skip to content

Instantly share code, notes, and snippets.

@JaHIY
Forked from passcod/hotot.rb
Last active December 14, 2015 22:38
Show Gist options
  • Save JaHIY/5159353 to your computer and use it in GitHub Desktop.
Save JaHIY/5159353 to your computer and use it in GitHub Desktop.
require 'formula'
class Hotot < Formula
homepage 'https://github.com/lyricat/Hotot'
url 'https://github.com/lyricat/Hotot/archive/0.9.8.10.tar.gz'
sha1 '09e1aae05546b99abc593df0c55d664a04336c43'
head 'https://github.com/lyricat/Hotot.git'
depends_on 'cmake' => :build
depends_on 'libtool' => :build
depends_on 'gettext' => :build
depends_on 'intltool' => :build
depends_on :x11
depends_on 'qt'
def install
system "mkdir", "build"
Dir.chdir("build") do
system "cmake", "..", "-DWITH_QT=On"
system "make"
system "make install"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment