diff options
| author | Libor Wagner | 2011-11-21 08:11:45 +0100 |
|---|---|---|
| committer | Jack Nagel | 2012-01-23 23:51:32 -0600 |
| commit | a5065c62a4f672223a887250853a31a5aadd283f (patch) | |
| tree | 0006adb3311dbff79e4b2599ebad78997b84f4ed /Library/Formula | |
| parent | b21cc10db1c4ef8775ec9a379969e63edbdcf931 (diff) | |
| download | homebrew-a5065c62a4f672223a887250853a31a5aadd283f.tar.bz2 | |
New formula: getxbook 0.6
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 #8701.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/getxbook.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/getxbook.rb b/Library/Formula/getxbook.rb new file mode 100644 index 000000000..a3894273f --- /dev/null +++ b/Library/Formula/getxbook.rb @@ -0,0 +1,11 @@ +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 |
