2010-03-31 15:45:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class GnuBarcode < Formula
|
2012-02-10 05:44:50 +00:00
|
|
|
homepage 'http://www.gnu.org/software/barcode/'
|
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'
|
2010-03-31 15:45:01 +00:00
|
|
|
md5 '7f10c3307b84a19a4ab2fa4b3f2974da'
|
|
|
|
|
|
|
|
def install
|
2012-02-10 05:44:50 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2010-03-31 15:45:01 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
2012-02-10 05:44:50 +00:00
|
|
|
system "make", "MAN1DIR=#{man1}",
|
|
|
|
"MAN3DIR=#{man3}",
|
|
|
|
"INFODIR=#{info}",
|
|
|
|
"install"
|
2010-03-31 15:45:01 +00:00
|
|
|
end
|
|
|
|
end
|