#!/bin/sh # Export variables needed for compilation export CFLAGS="-O2 -pipe" export CXXFLAGS="-O2 -pipe -fno-exceptions -fno-rtti" export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig # Configure it ./configure --prefix=/usr/local --enable-static --enable-shared \ --enable-gpl --enable-nonfree --enable-version3 \ --enable-fontconfig \ --enable-gnutls \ --enable-libmp3lame \ --enable-libass \ --enable-libcaca \ --enable-libcelt \ --enable-libfdk-aac \ --enable-libfreetype \ --enable-libmp3lame \ --enable-libopencore-amrnb \ --enable-libopencore-amrwb \ --enable-libopus \ --enable-libschroedinger \ --enable-libspeex \ --enable-libtheora \ --enable-libtwolame \ --enable-libvorbis \ --enable-libwavpack \ --enable-libxvid \ --enable-openssl \ --enable-x11grab