Add par2 package (#501)

Parity Archives are very usefull for working with long term storage,
which may have degraded over time. It allows to restore the files, even
if chunks of it are corrupted. https://en.wikipedia.org/wiki/Parchive

I tested it by creating a par2 archive, corrupting the original data and
restoring it.

This program is named par2cmdline, but I named the package par2 because
that's what it is called in the Ubuntu Repo,

 Date:      Wed Oct 12 12:19:39 2016 +0200
This commit is contained in:
Oliver Schmidhauser 2016-10-16 00:08:07 +02:00 committed by Fredrik Fornwall
parent d3dc1c5888
commit e45f625ef0
1 changed files with 13 additions and 0 deletions

13
packages/par2/build.sh Normal file
View File

@ -0,0 +1,13 @@
TERMUX_PKG_HOMEPAGE=https://github.com/Parchive/par2cmdline
TERMUX_PKG_DESCRIPTION="par2cmdline is a PAR 2.0 compatible file verification and repair tool."
TERMUX_PKG_VERSION=0.6.13
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
TERMUX_PKG_SRCURL=https://github.com/Parchive/par2cmdline/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME=par2cmdline-$TERMUX_PKG_VERSION
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
aclocal
automake --add-missing
autoconf
}