2019-07-26 01:18:18 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2021-07-03 12:31:23 -06:00
|
|
|
export CC=${CC:-cc} CXX=${CXX:-c++}
|
|
|
|
|
2021-07-03 15:08:17 -06:00
|
|
|
# Remove the perl requirement from configure.
|
|
|
|
# Also fix issue with non-GNU diff.
|
|
|
|
sed 's/perl/:/g;s/diff --version/command -v diff/' configure > _
|
|
|
|
mv -f _ configure
|
|
|
|
chmod +x configure
|
2020-03-09 13:11:41 -06:00
|
|
|
|
2019-07-26 01:18:18 -06:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-07-03 12:31:23 -06:00
|
|
|
--target=x86_64-linux-gcc \
|
2019-07-26 01:18:18 -06:00
|
|
|
--enable-vp8 \
|
|
|
|
--enable-vp9 \
|
|
|
|
--enable-experimental \
|
|
|
|
--enable-runtime-cpu-detect \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-postproc \
|
|
|
|
--enable-pic \
|
2020-03-09 13:11:41 -06:00
|
|
|
--disable-tools \
|
|
|
|
--disable-examples \
|
|
|
|
--disable-docs \
|
|
|
|
--disable-unit-tests \
|
2019-07-26 01:18:18 -06:00
|
|
|
--disable-install-docs \
|
|
|
|
--disable-install-srcs \
|
|
|
|
--disable-install-bins \
|
2020-02-28 03:30:05 -07:00
|
|
|
--as=nasm
|
2019-07-26 01:18:18 -06:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$1" install
|