ffe 0.3.4 (new formula)

Fixes Homebrew/homebrew#36060.

Closes Homebrew/homebrew#36065.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Baptiste Fontaine 2015-01-20 13:51:21 +01:00 committed by Mike McQuaid
parent 7fec4e2db7
commit 23d5c25089
1 changed files with 37 additions and 0 deletions

37
Formula/ffe.rb Normal file
View File

@ -0,0 +1,37 @@
class Ffe < Formula
homepage "http://ff-extractor.sourceforge.net/"
url "https://downloads.sourceforge.net/project/ff-extractor/ff-extractor/0.3.4/ffe-0.3.4.tar.gz"
sha1 "9e0f435568a65ef552d71e1a10a12f0627e1ccf9"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
(testpath/"source").write "EArthur Guinness 25"
(testpath/"test.rc").write <<-EOS.undent
structure personel_fix {
type fixed
record employee {
id 1 E
field EmpType 1
field FirstName 7
field LastName 11
field Age 2
}
}
output default {
record_header "<tr>"
data "<td>%t</td>"
record_trailer "</tr>"
no-data-print no
}
EOS
system "#{bin}/ffe", "-c", "test.rc", "source"
end
end