summaryrefslogtreecommitdiff
blob: ce94bc27528ee0fe23e510c138fa9ba0007ca8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-util/diffstat/diffstat-1.29.ebuild,v 1.2 2002/07/11 06:30:25 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file"
SRC_URI="ftp://invisible-island.net/diffstat/diffstat.tar.gz"
HOMEPAGE="http://dickey.his.com/diffstat/diffstat.html"
DEPEND="sys-apps/diffutils"

src_compile() {                           
	./configure --prefix=/usr --host="${CHOST}"
	assert

	make CFLAGS="-Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes ${CFLAGS}" || die
}

src_install() {                               
	dobin diffstat
	doman diffstat.1
	dodoc README CHANGES
}