summaryrefslogtreecommitdiff
blob: cc88963cb01c8d10c57f375b8562c8848a85bfe2 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/cksfv/cksfv-1.3.ebuild,v 1.16 2005/01/01 11:42:47 eradicator Exp $

inherit eutils

DESCRIPTION="SFV checksum utility (simple file verification)"
HOMEPAGE="http://www.fodder.org/cksfv/"
SRC_URI="http://www.fodder.org/cksfv/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha amd64"
IUSE=""

DEPEND="virtual/libc"

src_compile() {
	# patch for int size problems on 64bit systems
	use amd64 && epatch ${FILESDIR}/${P}-64bit-fix.patch
	emake || die
}

src_install() {
	dobin src/cksfv || die
	dodoc ChangeLog INSTALL README TODO
}