diff options
| author | Alexis Hildebrandt | 2010-09-27 16:08:16 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-27 09:08:08 -0700 |
| commit | d13979271e483e49867afa03806e276685461922 (patch) | |
| tree | 0a6f822e57cabb9436d9b112cfec87705c8deea3 /Library/Formula | |
| parent | c9190a9a8ca22cf7a905ee3590817266252f8a20 (diff) | |
| download | homebrew-d13979271e483e49867afa03806e276685461922.tar.bz2 | |
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>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/zint.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/zint.rb b/Library/Formula/zint.rb new file mode 100644 index 000000000..3bac9e5d7 --- /dev/null +++ b/Library/Formula/zint.rb @@ -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 |
