aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Höppner2010-08-26 20:07:32 +0200
committerDavid Höppner2010-08-26 20:07:32 +0200
commit7fedd0b28911d109c86775aa04a05f59d455ba34 (patch)
treefdbfd54b343d8a4fe99b64cf6dfe6418c2473140 /Library/Formula
parentb87a754104a011eece02b6d630bc72b1c3ea6f1c (diff)
downloadhomebrew-7fedd0b28911d109c86775aa04a05f59d455ba34.tar.bz2
New formula libvpx (Nathan de Vries)
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libvpx.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/libvpx.rb b/Library/Formula/libvpx.rb
new file mode 100644
index 000000000..92f19c5ac
--- /dev/null
+++ b/Library/Formula/libvpx.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Libvpx <Formula
+ head 'git://review.webmproject.org/libvpx.git', :tag => 'v0.9.0'
+ homepage 'http://www.webmproject.org/code/'
+
+ depends_on 'yasm'
+
+ def install
+ system "./configure"
+ system "make"
+
+ include.install Dir["vp8/*.h", "vpx_codec/*.h", "vpx_ports/*.h"]
+ lib.install "libvpx.a"
+ end
+end