New Formula: unyaffs
Unyaffs is a program to extract files from a yaffs file system image. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
e52340dd4f
commit
0012735c22
|
@ -0,0 +1,14 @@
|
|||
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
|
Loading…
Reference in New Issue