#!/bin/sh trap exit ERR # Default configure options CONFIGURE_OPTIONS="--enable-gpl --enable-postproc --enable-swscale --enable-avfilter" echo "Configure options: $CONFIGURE_OPTIONS" ./configure --cc=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/i686-apple-darwin10-gcc-4.2.1 --as="./gas-preprocessor.pl /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/i686-apple-darwin10-gcc-4.2.1" --sysroot=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk --extra-cflags="-mdynamic-no-pic" --prefix="dist" $CONFIGURE_OPTIONS make && make install echo "Installed: $FFMPEG_DIR/dist"