repo/extra/libvpx/build
Dylan Araps 66c5cffad5
libvpx: Remove perl dependency.
Perl is only required on x86_64 to generate four header files.
We can circumvent the perl dependency by simply providing these
four files ourselves in their final generated forms.
2020-03-09 21:11:41 +02:00

30 lines
612 B
Bash
Executable File

#!/bin/sh -e
patch -p1 < fix-busybox-diff.patch
# Remove the perl requirement from configure
# as we have removed the perl requirement
# ourselves :-).
sed -i 's/perl/:/g' configure
./configure \
--prefix=/usr \
--enable-vp8 \
--enable-vp9 \
--enable-experimental \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-tools \
--disable-examples \
--disable-docs \
--disable-unit-tests \
--disable-install-docs \
--disable-install-srcs \
--disable-install-bins \
--as=nasm
make
make DESTDIR="$1" install