summaryrefslogtreecommitdiff
blob: 90a73ebf3341a5c69ddbbf0ecb14a2d1ec1a6b5d (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/md5deep/md5deep-1.5-r1.ebuild,v 1.3 2005/06/24 15:18:46 swegener Exp $

DESCRIPTION="Expanded md5sum program that has recursive and comparison options. Also includes SHA hash generation."
HOMEPAGE="http://md5deep.sourceforge.net"
SRC_URI="mirror://sourceforge/md5deep/${P}.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~ppc-macos"
IUSE=""
DEPEND=""

src_compile () {
	sed -i -e "s:-Wall -O2:\$(CFLAGS):g" Makefile
	BUILDTARGET="linux"
	use ppc-macos && BUILDTARGET="mac"
	make CFLAGS="${CFLAGS}" ${BUILDTARGET} || die
}

src_install() {
	dobin md5deep sha1deep sha256deep
	dodoc README CHANGES
	doman md5deep.1 sha1deep.1 sha256deep.1
}