Skip to content

Commit 1de0faf

Browse files
Angel Pizarroadamv
authored andcommitted
GNU barcode formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
1 parent 2ad96d4 commit 1de0faf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Formula/gnu-barcode.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
require 'formula'
2+
3+
class GnuBarcode <Formula
4+
url 'ftp://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz'
5+
homepage 'http://www.gnu.org/software/barcode/barcode.html'
6+
md5 '7f10c3307b84a19a4ab2fa4b3f2974da'
7+
8+
def install
9+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
10+
"--prefix=#{prefix}"
11+
12+
inreplace "Makefile" do |s|
13+
s.change_make_var! "MAN1DIR", man1
14+
s.change_make_var! "MAN3DIR", man3
15+
end
16+
17+
system "make"
18+
system "make install"
19+
end
20+
end

0 commit comments

Comments
 (0)