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

class GnuBarcode < Formula
  homepage 'http://www.gnu.org/software/barcode/'
  url 'http://ftpmirror.gnu.org/barcode/barcode-0.98.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz'
  md5 '7f10c3307b84a19a4ab2fa4b3f2974da'

  def install
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"
    system "make", "MAN1DIR=#{man1}",
                   "MAN3DIR=#{man3}",
                   "INFODIR=#{info}",
                   "install"
  end
end