Skip to content

Instantly share code, notes, and snippets.

@kyoma-takahashi
Created December 16, 2013 00:57
Show Gist options
  • Select an option

  • Save kyoma-takahashi/7980815 to your computer and use it in GitHub Desktop.

Select an option

Save kyoma-takahashi/7980815 to your computer and use it in GitHub Desktop.
Homebrew formula for buildtorrent-0.8
require 'formula'
class Buildtorrent < Formula
homepage 'http://mathr.co.uk/blog/torrent.html'
url 'http://mathr.co.uk/blog/code/buildtorrent-0.8.tar.gz'
head 'https://git.gitorious.org/buildtorrent/buildtorrent.git'
sha1 '32694478ddef91453dc85ab7a2e659132adadeb6'
def install
system './configure', '--disable-debug',
'--disable-dependency-tracking',
'--disable-silent-rules',
"--prefix=#{prefix}"
system 'make', 'install'
end
test do
system 'buildtorrent', '--version'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment