dev-vcs/cssc: Version 1.4.1
authorJeroen Roovers <jer@gentoo.org>
Wed, 8 May 2019 13:48:27 +0000 (15:48 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 8 May 2019 14:10:16 +0000 (16:10 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
dev-vcs/cssc/Manifest
dev-vcs/cssc/cssc-1.4.1.ebuild [new file with mode: 0644]
dev-vcs/cssc/files/cssc-1.4.1-m4.patch [new file with mode: 0644]

index d86316f2d8c44ac8240d5e69aebf36073a33a9b9..f7424756d647f109ff94265dcab5caac006374b2 100644 (file)
@@ -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 (file)
index 0000000..c2b8b54
--- /dev/null
@@ -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 (file)
index 0000000..e30c500
--- /dev/null
@@ -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)