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