summaryrefslogtreecommitdiff
blob: e79d0cceae60a32457a42fe47ff74503fc602912 (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.1.1.1 2005/11/30 09:44:49 chriswhite 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 userland_Darwin && BUILDTARGET="mac"
	make CFLAGS="${CFLAGS}" ${BUILDTARGET} || die
}

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