Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

New Formula: unyaffs

Unyaffs is a program to extract files from a yaffs file system image.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit cbe9815a29ccafb34f98e19453d4fd71d4c0e295 1 parent 1def79d
@jou jou authored adamv committed
Showing with 14 additions and 0 deletions.
  1. +14 −0 Library/Formula/unyaffs.rb
View
14 Library/Formula/unyaffs.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.