1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="fast-export history from a CVS repository or RCS collection"
9 HOMEPAGE="http://www.catb.org/~esr/cvs-fast-export/"
10 SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
21 RESTRICT=test # upstream does not ship some tests in tarball
27 export prefix="${EPREFIX}"/usr
29 # respect CC, CFLAGS and LDFLAGS
31 -e 's/cc /$(CC) $(LDFLAGS) /' \
32 -e 's/^CFLAGS += -O/#&/' \
33 -e 's/CFLAGS=/CFLAGS+=/' \
38 # '.adoc.html' rules can't be executed in parallel
39 # as they reuse the same 'docbook-xsl.css' file name.
41 # Allow full parallelism for the rest