3b7c9bca4e
getxbook is a collection of tools to download books from websites. Currently there are tools for Google Books' book preview (getgbook), Amazon's look inside (getabook) and Barnes and Noble's book viewer (getbnbook). Closes Homebrew/homebrew#8701. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
11 lines
288 B
Ruby
11 lines
288 B
Ruby
require 'formula'
|
|
|
|
class Getxbook < Formula
|
|
url 'http://njw.me.uk/software/getxbook/getxbook-0.6.tar.bz2'
|
|
homepage 'http://njw.me.uk/software/getxbook/'
|
|
md5 'd19826109c6590072c3784bf49e7f4ba'
|
|
|
|
def install
|
|
system "make", "CC=#{ENV.cc}", "PREFIX=#{prefix}", "install"
|
|
end
|
|
end
|