blob: ba63b13acf3e179320030251c87a787efcbc37a0 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
 | require 'formula'
class Unix2dos < Formula
  url 'http://www.sfr-fresh.com/linux/misc/old/unix2dos-2.2.src.tar.gz'
  md5 'caf9f33155073d3efd310eff9103170b'
  homepage 'http://www.sfr-fresh.com/linux/misc/'
  def install
    # we don't use the Makefile as it doesn't optimize
    system "#{ENV.cc} #{ENV['CFLAGS']} unix2dos.c -o unix2dos"
    bin.install "unix2dos"
    man1.install "unix2dos.1"
  end
end
 |