wirouter_keyrec 1.1.2 (new formula)
Closes Homebrew/homebrew#36498. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
4064ed7072
commit
121df70b92
1 changed files with 23 additions and 0 deletions
23
Formula/wirouter_keyrec.rb
Normal file
23
Formula/wirouter_keyrec.rb
Normal file
|
@ -0,0 +1,23 @@
|
|||
class WirouterKeyrec < Formula
|
||||
homepage "http://www.salvatorefresta.net/tools/"
|
||||
url "http://tools.salvatorefresta.net/WiRouter_KeyRec_1.1.2.zip"
|
||||
sha1 "3c17f2d0bf3d6201409862fd903ebfd60c1e8a2e"
|
||||
|
||||
def install
|
||||
inreplace "src/agpf.h", %r{/etc}, "#{prefix}/etc"
|
||||
inreplace "src/teletu.h", %r{/etc}, "#{prefix}/etc"
|
||||
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}",
|
||||
"--sysconfdir=#{prefix}",
|
||||
"--exec-prefix=#{prefix}"
|
||||
system "make", "prefix=#{prefix}"
|
||||
system "make", "install", "DESTDIR=#{prefix}", "BIN_DIR=bin/"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/wirouterkeyrec", "-s", "Alice-12345678"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue