Skip to content

Instantly share code, notes, and snippets.

@passcod
Last active December 13, 2015 19:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save passcod/4966034 to your computer and use it in GitHub Desktop.
Save passcod/4966034 to your computer and use it in GitHub Desktop.
Homebrew formula for Hotot (twitter client) using Qt.
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 :x11
depends_on 'qt'
def install
system "mkdir", "build"
Dir.chdir("build") do
system "cmake", ".."
system "make"
system "make install"
end
end
end
@passcod
Copy link
Author

passcod commented Feb 16, 2013

Blog post: https://passcod.name/2013/02/16/building-hotot.html

To install:

$ brew install "https://gist.github.com/passcod/4966034/raw/hotot.rb"

To install the latest from git:

$ brew install "https://gist.github.com/passcod/4966034/raw/hotot.rb" --HEAD

@JaHIY
Copy link

JaHIY commented Mar 14, 2013

please add intltool:

depends_on 'intltool' => :build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment