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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '15b9598bcaa67bcff1f63309d1a18840b9a12899'
|
2010-03-31 15:45:01 +00:00
|
|
|
|
|
|
|
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
|