bsdconv 7.3

BSD licensed charset/encoding converter library with more
functionalities than libiconv

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Lin Jen-Shin 2012-04-05 21:22:42 +08:00 committed by Adam Vandenberg
parent 146aa9fbe5
commit 607ebe011c
1 changed files with 19 additions and 0 deletions

19
Formula/bsdconv.rb Normal file
View File

@ -0,0 +1,19 @@
require 'formula'
class Bsdconv < Formula
homepage 'https://github.com/buganini/bsdconv'
url 'https://github.com/buganini/bsdconv/tarball/7.3'
md5 '29a4a350f4c6986df628f4210f2cbb37'
head 'https://github.com/buganini/bsdconv.git'
def install
ENV.j1 # Library must be built before the codec tables are generated
system "make", "PREFIX=#{prefix}"
system "make", "PREFIX=#{prefix}", "install"
end
def test
system "#{bin}/bsdconv"
end
end