2010-03-31 15:45:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GnuBarcode < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/barcode/barcode-0.98.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz'
|
2011-11-12 17:24:27 +00:00
|
|
|
homepage 'http://www.gnu.org/software/barcode/'
|
2010-03-31 15:45:01 +00:00
|
|
|
md5 '7f10c3307b84a19a4ab2fa4b3f2974da'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
|
|
|
|
inreplace "Makefile" do |s|
|
|
|
|
s.change_make_var! "MAN1DIR", man1
|
|
|
|
s.change_make_var! "MAN3DIR", man3
|
|
|
|
end
|
|
|
|
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|