While par2-tbb is a drop-in replacement for the standard par2 package as far as SABnzbd+ is concerned, the wiki page about multi-core par2 support is still required reading!
Code: Select all
sudo apt-get install devscripts build-essential git debhelper dh-autoreconf libtbb-dev
DIR="$(mktemp -d)"
cd "$DIR"
git clone https://github.com/jcfp/debpkg-par2tbb.git
cd debpkg-par2tbb
uscan --force-download
dpkg-buildpackage -S -us -uc -d
dpkg-source -x ../par2cmdline-tbb_*.dsc
cd par2cmdline-tbb-*
dpkg-buildpackage -b -us -uc
echo; echo "to install, run: sudo dpkg -i $(readlink -f ../par2-tbb_*.deb)"
Latest changes:
20150723: now uses copies of the chuchusoft source releases hosted on my github account, the chuchusoft website was just too unreliable.
20151102: patch configure.ac to handle building on *-*-linux-gnu<something>
20160618: patch Makefile.am to support compiling with older libc