blob: 7c53384596b652ff29960dc3d792cd1d9be02e97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | 
require 'formula'
class Zzuf < Formula
  url 'http://caca.zoy.org/files/zzuf/zzuf-0.13.tar.gz'
  homepage 'http://caca.zoy.org/wiki/zzuf'
  sha1 '19f904d63d045194885639c381a607ca86a319b5'
  def patches
    # Fix OS X-specific bug in zzuf 0.13; see https://trac.macports.org/ticket/29157
    # This has been fixed upstream and should be included in the next release.
    { :p3 => 'https://trac.macports.org/export/78051/trunk/dports/security/zzuf/files/patch-src-libzzuf-lib--mem.c.diff'}
  end
  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end
  |