summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-05-24 18:27:07 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-05-24 18:27:13 +0100
commitf4739748ef7af2e8373505f6461ce4d7a82af288 (patch)
tree498adc00187433550edd7c0f2afbf71c19086678
parentapp-misc/abook: Fix link to tinfo and vformat (diff)
downloadgentoo-f4739748ef7af2e8373505f6461ce4d7a82af288.tar.gz
gentoo-f4739748ef7af2e8373505f6461ce4d7a82af288.tar.bz2
gentoo-f4739748ef7af2e8373505f6461ce4d7a82af288.zip
dev-vcs/cvs-fast-export: bump up to 1.55
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--dev-vcs/cvs-fast-export/Manifest1
-rw-r--r--dev-vcs/cvs-fast-export/cvs-fast-export-1.55.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-vcs/cvs-fast-export/Manifest b/dev-vcs/cvs-fast-export/Manifest
index e178b3b7797..c8f27dd3563 100644
--- a/dev-vcs/cvs-fast-export/Manifest
+++ b/dev-vcs/cvs-fast-export/Manifest
@@ -1,2 +1,3 @@
DIST cvs-fast-export-1.53.tar.gz 472991 BLAKE2B 4fb69bbe75cb4a2d54bf876ebefc4e2fbb12e3a22f9cfcd45f31adec6c65406b3b3647513b884f0d3356bf78f0c8b5684024d6bdea41776a68d48f08879e773b SHA512 cd40543d73c2367b76c181d262b12b13223fc66984ce616d2b0df22f9562a99940dcd6e1e4996a237f2f37c5a8ed48992c2cda521b92238b6bb78b4144d0d503
DIST cvs-fast-export-1.54.tar.gz 477045 BLAKE2B 2fb8826712b0e0ba9573e9ebd5178a0090c7d91de4dc3aae58faa006ef9c51fe0ec913daa3afbcefaa07ea430358d31c85d26a7399679fef2e14fbf0a6ee5e40 SHA512 b209049554f3599a4817496bb0b75a3cf6b84bce2455f78271872fa3b95241d4e1e5e3dfd5583d6216f5bbb273d70b5278e23d226ace396f1f0e014b87745c73
+DIST cvs-fast-export-1.55.tar.gz 478449 BLAKE2B 18a94fe4c143ca72949b469f40d79540aa8b6fc8562bed7e638b7ac4834e6f4be73f1cf0c906f0ea1dfdfadada74fa3b8a1a56c1aeb011467977be2d4ee84fbe SHA512 494b7bdef890c59967a0552b605f2f5b49ff401c791dc260378192babab1a8e13af796f746c52c36d0ff95c94d04f066f31245f803793092bcaf2e63bd367d05
diff --git a/dev-vcs/cvs-fast-export/cvs-fast-export-1.55.ebuild b/dev-vcs/cvs-fast-export/cvs-fast-export-1.55.ebuild
new file mode 100644
index 00000000000..976b11d8e92
--- /dev/null
+++ b/dev-vcs/cvs-fast-export/cvs-fast-export-1.55.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="fast-export history from a CVS repository or RCS collection"
+HOMEPAGE="http://www.catb.org/~esr/cvs-fast-export/"
+SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-text/asciidoc"
+
+RESTRICT=test # upstream does not ship some tests in tarball
+
+src_prepare() {
+ default
+
+ tc-export CC
+ export prefix="${EPREFIX}"/usr
+
+ # respect CC, CFLAGS and LDFLAGS
+ sed \
+ -e 's/cc /$(CC) $(LDFLAGS) /' \
+ -e 's/^CFLAGS += -O/#&/' \
+ -e 's/CFLAGS=/CFLAGS+=/' \
+ -i Makefile || die
+}
+
+src_compile() {
+ # '.adoc.html' rules can't be executed in parallel
+ # as they reuse the same 'docbook-xsl.css' file name.
+ emake -j1 html
+ # Allow full parallelism for the rest
+ emake
+}
+
+src_install() {
+ default
+ dodoc README.adoc
+}