l-smash 1.5.2
This commit is contained in:
parent
02def0692c
commit
c3d860263c
1 changed files with 24 additions and 0 deletions
24
Formula/l-smash.rb
Normal file
24
Formula/l-smash.rb
Normal file
|
@ -0,0 +1,24 @@
|
|||
require "formula"
|
||||
|
||||
class LSmash < Formula
|
||||
homepage "http://up-cat.net/L%252DSMASH.html"
|
||||
url "https://github.com/l-smash/l-smash.git", :tag => "v1.5.2", :shallow => false
|
||||
head "https://github.com/l-smash/l-smash.git"
|
||||
|
||||
def install
|
||||
args = ["--prefix=#{prefix}", "--enable-shared"]
|
||||
|
||||
# For getting version information correctly in the configure
|
||||
buildpath.install_symlink cached_download/".git"
|
||||
|
||||
system "./configure", *args
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/boxdumper", "-v"
|
||||
system "#{bin}/muxer", "-v"
|
||||
system "#{bin}/remuxer", "-v"
|
||||
system "#{bin}/timelineeditor", "-v"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue