Reformat libogg and libvorbis
This commit is contained in:
parent
750676682e
commit
4139352243
2 changed files with 13 additions and 10 deletions
|
@ -1,14 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Libogg <Formula
|
||||
@homepage='http://www.xiph.org/ogg/'
|
||||
@url='http://downloads.xiph.org/releases/ogg/libogg-1.1.4.tar.gz'
|
||||
@md5='10200ec22543841d9d1c23e0aed4e5e9'
|
||||
homepage 'http://www.xiph.org/ogg/'
|
||||
url 'http://downloads.xiph.org/releases/ogg/libogg-1.1.4.tar.gz'
|
||||
md5 '10200ec22543841d9d1c23e0aed4e5e9'
|
||||
|
||||
def install
|
||||
system "./configure --disable-debug --disable-dependency-tracking --prefix='#{prefix}'"
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug",
|
||||
"--disable-dependency-tracking"
|
||||
system "make"
|
||||
ENV.deparallelize
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Libvorbis <Formula
|
||||
@url='http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.bz2'
|
||||
@md5='67beb237faf97d74782ec7071756b2b6'
|
||||
@homepage='http://vorbis.com'
|
||||
url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.bz2'
|
||||
md5 '67beb237faf97d74782ec7071756b2b6'
|
||||
homepage 'http://vorbis.com'
|
||||
|
||||
depends_on 'libogg'
|
||||
|
||||
def install
|
||||
system "./configure --enable-docs --disable-debug --disable-dependency-tracking --prefix='#{prefix}'"
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--enable-docs"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue