A formula for libqrencode, a qrcode encoder
For use with qrtools gem. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
e83926152e
commit
f657b3896e
1 changed files with 15 additions and 0 deletions
15
Formula/qrencode.rb
Normal file
15
Formula/qrencode.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Qrencode <Formula
|
||||
url 'http://megaui.net/fukuchi/works/qrencode/qrencode-3.1.1.tar.gz'
|
||||
homepage 'http://megaui.net/fukuchi/works/qrencode/index.en.html'
|
||||
md5 'd97f67cbefaf577e6c15923f3cc57b6a'
|
||||
|
||||
depends_on 'pkg-config'
|
||||
depends_on 'libpng'
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue