summaryrefslogtreecommitdiff
blob: 198f07176db16c0a3be1f915dd32cfeb563af613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/par2cmdline/par2cmdline-0.3.ebuild,v 1.2 2003/12/13 18:05:56 brad_mssw Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A PAR-2.0 file verification and repair tool"
HOMEPAGE="http://parchive.sourceforge.net/"
SRC_URI="mirror://sourceforge/parchive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
DEPEND=""

src_compile() {
	econf || die
	emake || die
}

src_install() {
	einstall || die
	local DOCLIST="AUTHORS INSTALL COPYING ChangeLog NEWS PORTING README ROADMAP"
	chmod -x ${DOCLIST}
	dodoc ${DOCLIST}
}

pkg_postinst() {
	einfo "Use (<par2create|par2 c> archive) to create PAR2 archive"
	einfo "Use (<par2verify|par2 v> archive) to verify PAR2 archive"
	einfo "Use (<par2repair|par2 r> archive) to repair PAR2 archive"
}