blob: 5334dab770b09c516ff4e90dc7acb62ce8a66b6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | 
require 'formula'
class Bsdconv < Formula
  homepage 'https://github.com/buganini/bsdconv'
  url 'https://github.com/buganini/bsdconv/tarball/9.0'
  sha1 '5b82f097575c9bbb0a1b809846c23f582da72bef'
  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
  |