aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/aircrack-ng.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/aircrack-ng.rb')
-rw-r--r--Library/Formula/aircrack-ng.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/Library/Formula/aircrack-ng.rb b/Library/Formula/aircrack-ng.rb
index bdb951fd5..e0738b91c 100644
--- a/Library/Formula/aircrack-ng.rb
+++ b/Library/Formula/aircrack-ng.rb
@@ -4,7 +4,7 @@ class AircrackNg <Formula
url 'http://download.aircrack-ng.org/aircrack-ng-1.1.tar.gz'
md5 'f7a24ed8fad122c4187d06bfd6f998b4'
homepage 'http://aircrack-ng.org/'
-
+
def install
# Force i386, otherwise you get errors:
# sha1-sse2.S:190:32-bit absolute addressing is not supported for x86-64
@@ -13,15 +13,14 @@ class AircrackNg <Formula
ENV.remove compiler_flag, "-arch x86_64"
ENV.append compiler_flag, "-arch i386"
end
-
+
system "make"
system "make", "prefix=#{prefix}", "mandir=#{man1}", "install"
end
- def caveats
- <<-EOS.undent
- Run `airodump-ng-oui-update` as root (or with sudo) to install or update
- the Airodump-ng OUI file.
+ def caveats; <<-EOS.undent
+ Run `airodump-ng-oui-update` as root (or with sudo) to install or update
+ the Airodump-ng OUI file.
EOS
end
end