0012735c22
Unyaffs is a program to extract files from a yaffs file system image. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
14 lines
329 B
Ruby
14 lines
329 B
Ruby
require 'formula'
|
|
|
|
class Unyaffs <Formula
|
|
head 'http://unyaffs.googlecode.com/svn/trunk/'
|
|
homepage 'http://code.google.com/p/unyaffs/'
|
|
|
|
def install
|
|
cc_args = ENV['CFLAGS'].split(' ')
|
|
(cc_args << ['-o', 'unyaffs', 'unyaffs.c']).flatten!
|
|
system ENV.cc, *cc_args
|
|
|
|
bin.install 'unyaffs'
|
|
end
|
|
end
|