Skip to content

Commit

Permalink
New formula: file 5.0.8
Browse files Browse the repository at this point in the history
% /usr/bin/file myfile.pyc
myfile.pyc: DBase 3 data file (1314567515 records)

% /usr/local/Cellar/file-keg/5.08/bin/file myfile.pyc
myfile.pyc: python 2.7 byte-compiled

Signed-off-by: Jack Nagel <[email protected]>
  • Loading branch information
trevor authored and jacknagel committed Aug 29, 2011
1 parent 5913712 commit f865928
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions duplicates/file-formula.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require 'formula'

# "File" is a reserved class name
class FileFormula < Formula
url 'ftp://ftp.astron.com/pub/file/file-5.08.tar.gz'
homepage 'http://www.darwinsys.com/file/'
md5 '6a2a263c20278f01fe3bb0f720b27d4e'
head 'git://github.com/glensc/file.git'

def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end

0 comments on commit f865928

Please sign in to comment.