GNU barcode formula

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Angel Pizarro 2010-03-31 15:45:01 +00:00 committed by Adam Vandenberg
parent 2ad96d4188
commit 1de0fafa32
1 changed files with 20 additions and 0 deletions

20
Formula/gnu-barcode.rb Normal file
View File

@ -0,0 +1,20 @@
require 'formula'
class GnuBarcode <Formula
url 'ftp://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz'
homepage 'http://www.gnu.org/software/barcode/barcode.html'
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