Created
October 7, 2014 05:25
-
-
Save tdsmith/f36e5a6e38e6aa43d181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "formula" | |
class Mpeg4ip < Formula | |
homepage "http://mpeg4ip.sourceforge.net/" | |
url "https://downloads.sourceforge.net/project/mpeg4ip/mpeg4ip/1.5.0.1/mpeg4ip-1.5.0.1.tar.gz" | |
sha1 "1271de695ed65284d9c39aa91bf26c5494603fd3" | |
depends_on "libtool" => :build | |
depends_on "sdl" | |
depends_on "ffmpeg" | |
depends_on "faac" | |
depends_on "x264" | |
def install | |
inreplace "bootstrap", "libtoolize", "glibtoolize" | |
ENV.append "CFLAGS", "-Wno-return-type" | |
system "./bootstrap", "--disable-debug", | |
"--disable-dependency-tracking", | |
"--disable-silent-rules", | |
"--prefix=#{prefix}", | |
"--mandir=#{man}", | |
"--disable-player", | |
"--disable-id3tags", | |
"--disable-xvid", | |
"--disable-a52dec", | |
"--disable-mad", | |
"--disable-mpeg2dec", | |
"--disable-srtp", | |
"--disable-mp4live", | |
"--disable-alsatest", | |
"--disable-mp3lame", | |
"--disable-gtk-glib", | |
"--disable-glibtest", | |
"--disable-gtktest", | |
"--enable-server", | |
"--enable-faac", | |
"--enable-ffmpeg=#{Formula["ffmpeg"].opt_prefix}", | |
"--enable-x264" | |
system "make", "install" | |
end | |
test do | |
system "false" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment