Browse files

ninvaders 0.1.1

Closes #35.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
  • Loading branch information...
1 parent 9bc9a9a commit cffbe329b5853bf44e457ee8c1ea63f02eefd291 @dklotz dklotz committed with mistydemeo Nov 23, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 ninvaders.rb
View
16 ninvaders.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Ninvaders < Formula
+ homepage 'http://ninvaders.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/ninvaders/ninvaders/0.1.1/ninvaders-0.1.1.tar.gz'
+ sha1 '5ab825694b108cbfa988377ca216188fa9a76e89'
+
+ def install
+ ENV.j1 # this formula's build system can't parallelize
+ inreplace 'Makefile' do |s|
+ s.change_make_var! "CC", ENV.cc
+ end
+ system "make" # build the binary
+ bin.install 'nInvaders'
+ end
+end

0 comments on commit cffbe32

Please sign in to comment.