Zint 2.4.0
An Open Source barcode encoding and image generating library written entirely in C. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
252ceaecb5
commit
65a6c95bcb
|
@ -0,0 +1,18 @@
|
|||
require 'formula'
|
||||
|
||||
class Zint <Formula
|
||||
url 'http://downloads.sourceforge.net/project/zint/zint/2.4/zint-2.4.0.src.tar.gz'
|
||||
homepage 'http://www.zint.org.uk'
|
||||
md5 '31fbb05dc45d3c460075096b702cefb0'
|
||||
head 'git://zint.git.sourceforge.net/gitroot/zint/zint'
|
||||
|
||||
depends_on 'cmake'
|
||||
depends_on 'libpng'
|
||||
|
||||
def install
|
||||
mkdir('build')
|
||||
cd('build')
|
||||
system "cmake .. #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{prefix} -DCMAKE_C_FLAGS=-I#{Formula.factory('libpng').include}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue