name=ffmpeg version=3.4.1 update_url='https://ffmpeg.org/download.html' dlextract "http://ffmpeg.org/releases/$name-$version.tar.bz2" \ 'bbf3fcded80c33968c91bf323a744286' _ cd "$name-$version" # ffmpeg uses it's own configure script with arguably differing options to the # regular GNU autotools configure scripts. # Not using compile_configure due to that. ./configure --disable-static --enable-shared \ --prefix="/$dir_prefix" \ --bindir="/$dir_prefix/$dir_bin" \ --datadir="/$dir_prefix/$dir_data/$name" \ --docdir="/$dir_prefix/$dir_doc/$name" \ --libdir="/$dir_prefix/$dir_lib" \ --incdir="/$dir_prefix/$dir_include" \ --mandir="/$dir_prefix/$dir_man" \ --enable-gpl \ --enable-version3 \ $(pkg-config --exists gnutls && echo --enable-gnutls) \ $(pkg-config --exists vpx && echo --enable-libvpx) \ $(pkg-config --exists vorbis && echo --enable-libvorbis) \ $(pkg-config --exists libass && echo --enable-libass) make make DESTDIR="$dir_install" install # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: