1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit distutils-r1 toolchain-funcs
10 DESCRIPTION="ESR's utility for making fast comparisons among large source trees"
11 HOMEPAGE="http://www.catb.org/~esr/comparator/"
12 SRC_URI="http://www.catb.org/~esr/comparator/${P}.tar.gz"
16 KEYWORDS="amd64 arm ~mips ppc ppc64 ~sparc x86"
20 DEPEND="=app-text/docbook-xml-dtd-4.1.2*
25 -e '/python setup.py install/d' \
26 -i Makefile || die "sed failed"
30 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
31 emake comparator.html scf-standard.html
32 distutils-r1_src_compile
36 emake ROOT="${D}" install
37 distutils-r1_src_install