summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-05-08 15:48:27 +0200
committerJeroen Roovers <jer@gentoo.org>2019-05-08 16:10:16 +0200
commit5264cb131174c09c1e8b0bac8b64fa12e84e8f0f (patch)
treef1dabccdafe4b16e5bcd46e30a971e6e47b65989 /dev-vcs
parentdev-python/xlwt: remove old (diff)
downloadgentoo-5264cb131174c09c1e8b0bac8b64fa12e84e8f0f.tar.gz
gentoo-5264cb131174c09c1e8b0bac8b64fa12e84e8f0f.tar.bz2
gentoo-5264cb131174c09c1e8b0bac8b64fa12e84e8f0f.zip
dev-vcs/cssc: Version 1.4.1
Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/cssc/Manifest1
-rw-r--r--dev-vcs/cssc/cssc-1.4.1.ebuild44
-rw-r--r--dev-vcs/cssc/files/cssc-1.4.1-m4.patch10
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-vcs/cssc/Manifest b/dev-vcs/cssc/Manifest
index d86316f2d8c4..f7424756d647 100644
--- a/dev-vcs/cssc/Manifest
+++ b/dev-vcs/cssc/Manifest
@@ -1 +1,2 @@
DIST CSSC-1.4.0.tar.gz 2012122 BLAKE2B c38bf9f50e372559c87d318780973a28fd2fec384cffd0c077c556b321f9f3e68324f59f26900e63c9235f30c564a60783c5a48b515b9b878977fe10266cd0be SHA512 7abb38ecfb5120e807d1f09d16ce81306b3eb16746e44da5029f626feba67dfb46db20bd2b89daffb2e3cdc51ffadc51cd666eef7d1b94e56b4c7dc24f93ea76
+DIST CSSC-1.4.1.tar.gz 2269725 BLAKE2B 264e996280ff23818332dda62d80adc61fd6a2e924af26a044168bf136c22b22bb591d37157030dbe8e2360a2687b0dcbf843f3af8683b08593fded4ef982739 SHA512 b843bd636b15830b2751c423ff2f2e7292e0942d750ca57425d9674b74c7291fe34db33cbbc4b87d27f80d3b54b0074207ceda612faa651b6f01486e0b2485d5
diff --git a/dev-vcs/cssc/cssc-1.4.1.ebuild b/dev-vcs/cssc/cssc-1.4.1.ebuild
new file mode 100644
index 000000000000..c2b8b544df5e
--- /dev/null
+++ b/dev-vcs/cssc/cssc-1.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+CSSC_PN="${PN^^}"
+CSSC_P="${CSSC_PN}-${PV}"
+
+DESCRIPTION="The GNU Project's replacement for SCCS"
+SRC_URI="mirror://gnu/${PN}/${CSSC_P}.tar.gz"
+HOMEPAGE="https://www.gnu.org/software/cssc/"
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+IUSE="test valgrind"
+DEPEND="
+ test? ( valgrind? ( dev-util/valgrind ) )
+"
+DOCS=( AUTHORS ChangeLog NEWS README )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-m4.patch
+)
+S=${WORKDIR}/${CSSC_P}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use test && use_with valgrind) \
+ --enable-binary
+}
+
+src_test() {
+ if [[ ${UID} = 0 ]]; then
+ einfo "The test suite can not be run as root"
+ else
+ emake check
+ fi
+}
diff --git a/dev-vcs/cssc/files/cssc-1.4.1-m4.patch b/dev-vcs/cssc/files/cssc-1.4.1-m4.patch
new file mode 100644
index 000000000000..e30c5008a09d
--- /dev/null
+++ b/dev-vcs/cssc/files/cssc-1.4.1-m4.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -33,7 +33,6 @@
+
+ # Changes to AC_CONFIG_MACRO_DIR shoulld be reflected in ACLOCAL_AMFLAGS in Makefile.am.
+ AC_CONFIG_MACRO_DIR([m4])
+-AC_CONFIG_MACRO_DIR([unit-tests/googletest/m4])
+ AC_SUBST(AUXDIR,$ac_aux_dir)
+ AM_INIT_AUTOMAKE([gnits readme-alpha check-news tar-ustar 1.11.6])
+ AC_CONFIG_HEADERS(config.h)