Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
1.0 KiB

name=ffmpeg
version=3.4.1
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: