aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/unshield.rb
blob: b381dcadf1456b64279665aafcfefd2597fc7bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Unshield < Formula
  homepage 'http://www.synce.org/oldwiki/index.php/Unshield'
  url 'http://downloads.sourceforge.net/project/synce/Unshield/0.6/unshield-0.6.tar.gz'
  sha1 '3e1197116145405f786709608a5a636a19f4f3e1'

  # Add support for new Installshield versions. See:
  # http://sourceforge.net/tracker/?func=detail&aid=3163039&group_id=30550&atid=399603
  def patches
    "http://patch-tracker.debian.org/patch/series/dl/unshield/0.6-3/new_installshield_format.patch"
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end