#
use /cat/proc/cpuinfo to get the info to choose the correct optimization of libdvbcsa for the ./configure step
# --enable-uint32 Use native 32 bits integers for bitslice
# --enable-uint64 Use native 64 bits integers for bitslice
# --enable-mmx Use MMX 64 bits for bitslice
# --enable-sse2 Use SSE2 128 bits for bitslice
# --enable-ssse3 Use SSSE3 128 bits for bitslice
# --enable-avx2 Use AVX2 256 bits for bitslice
# --enable-altivec Use AltiVec 128 bits for bitslice
# --enable-neon Use NEON 128 bits for bitslice
./configure --enable-avx2
make -j$(nproc)
make install # this needs root permissions and will install the library to /usr/local (depending on your distro)