This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] par2
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 25 Sep 2015 16:56:41 -0500
- Subject: Re: [ITP] par2
- Authentication-results: sourceware.org; auth=none
- References: <fidb0b5a7dtcskg97dkmj7ksur36pl4tq6 at 4ax dot com>
On Fri, 2015-09-25 at 17:10 -0400, Andrew Schulman wrote:
> I want to package par2 for Cygwin. par2 is the well-known file verification and
> repair tool, using Reed-Solomon encoding. It builds OOTB in Cygwin.
>
> par2.cygport:
>
> NAME=par2
> VERSION=0.6.14
> RELEASE=1
> SUMMARY="File verification and repair tool"
> DESCRIPTION="par2 is a program for creating and using PAR2 files to detect
> damage in data files and repair them if necessary. It can be used with any kind
> of file."
> CATEGORY="Archive"
> HOMEPAGE="https://github.com/Parchive/par2cmdline"
For future reference, instead of this:
> GIT_URI="https://github.com/Parchive/par2cmdline.git"
> GIT_TAG=v0.6.14
> inherit git
Just do this:
SRC_URI="https://github.com/Parchive/par2cmdline/archive/v${VERSION}/par2cmdline-v${VERSION}.tar.gz"
The same goes for retrieving any other tag in GitHub in the form:
https://github.com/PROJECT/REPO/archive/TAG/REPO-TAG.tar.gz
No need to respin though. GTG.
--
Yaakov