* [ITP] par2
@ 2015-09-25 21:10 Andrew Schulman
2015-09-25 21:56 ` Yaakov Selkowitz
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Schulman @ 2015-09-25 21:10 UTC (permalink / raw)
To: cygwin-apps
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"
GIT_URI="https://github.com/Parchive/par2cmdline.git"
GIT_TAG=v0.6.14
inherit git
Package files:
wget \
http://home.comcast.net/~andrex2/cygwin/par2/setup.hint
http://home.comcast.net/~andrex2/cygwin/par2/par2-0.6.14-1.tar.xz
http://home.comcast.net/~andrex2/cygwin/par2/par2-0.6.14-1-src.tar.xz
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ITP] par2
2015-09-25 21:10 [ITP] par2 Andrew Schulman
@ 2015-09-25 21:56 ` Yaakov Selkowitz
0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2015-09-25 21:56 UTC (permalink / raw)
To: cygwin-apps
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-25 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-25 21:10 [ITP] par2 Andrew Schulman
2015-09-25 21:56 ` Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).