homebrew-core/Formula/gnu-barcode.rb
Jack Nagel 837599d38a gnu-barcode: avoid inreplace
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-09 23:45:26 -06:00

19 lines
597 B
Ruby

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