2010-07-02 18:11:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Httrack < Formula
|
2010-07-02 18:11:38 +00:00
|
|
|
homepage 'http://www.httrack.com/'
|
2013-05-12 03:01:27 +00:00
|
|
|
# url: Always use mirror.httrack.com when you link to a new version
|
|
|
|
# of HTTrack, as link to download.httrack.com will break on next
|
|
|
|
# HTTrack update.
|
2013-05-18 14:09:21 +00:00
|
|
|
url 'http://mirror.httrack.com/historical/httrack-3.47.12.tar.gz'
|
|
|
|
sha1 'e4b6671da0170bb219ec4aa74167bae449dd105e'
|
2010-07-02 18:11:38 +00:00
|
|
|
|
|
|
|
def install
|
2010-07-29 21:43:15 +00:00
|
|
|
ENV.deparallelize
|
2013-04-26 14:43:43 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2010-07-02 18:11:38 +00:00
|
|
|
system "make install"
|
|
|
|
# Don't need Gnome integration
|
2010-04-07 05:58:35 +00:00
|
|
|
rm_rf share+'applications'
|
|
|
|
rm_rf share+'pixmaps'
|
2010-07-02 18:11:38 +00:00
|
|
|
end
|
|
|
|
end
|