blob: 2eb23ea90b22d9ee3e64c337990b76c63f7995bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|