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
Alexis Hildebrandt 2010-09-27 16:08:16 +02:00 committed by Adam Vandenberg
parent 252ceaecb5
commit 65a6c95bcb
1 changed files with 18 additions and 0 deletions

18
Formula/zint.rb Normal file
View File

@ -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