mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 13:39:47 -05:00
Formula for the stax SDK (stax.net)
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
2e404d7a2e
commit
170febb185
1 file changed
+24
@@ -0,0 +1,24 @@
|
||||
require 'formula'
|
||||
|
||||
class StaxSdk <Formula
|
||||
url 'http://stax-downloads.s3.amazonaws.com/sdk/stax-sdk-0.3.8-dist.zip'
|
||||
version '0.3.8'
|
||||
homepage 'http://wiki.stax.net/w/index.php/SDK'
|
||||
md5 'db14071f8c1628ed23bb66369fcca8bf'
|
||||
|
||||
def shim_script target
|
||||
<<-EOS.undent
|
||||
#!/bin/bash
|
||||
export STAX_HOME=#{libexec}
|
||||
#{libexec}/#{target} $*
|
||||
EOS
|
||||
end
|
||||
|
||||
def install
|
||||
rm Dir['*.bat', '*.lnk']
|
||||
libexec.install Dir['*']
|
||||
|
||||
(bin+'stax').write shim_script('stax')
|
||||
(bin+'staxd').write shim_script('staxd')
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user