diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-07-03 07:49:58 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-07-03 07:56:56 +0200 |
commit | 50d8ee2293d0f8c4fae6c1343d97bc19b16ffae8 (patch) | |
tree | e3001539ef75251994bf91f6ab418a12e549c0a6 /dev-util/ninka/ninka-2.0_pre1_p20220619.ebuild | |
parent | dev-ruby/coercible: add missing test dependency (diff) | |
download | gentoo-50d8ee2293d0f8c4fae6c1343d97bc19b16ffae8.tar.gz gentoo-50d8ee2293d0f8c4fae6c1343d97bc19b16ffae8.tar.bz2 gentoo-50d8ee2293d0f8c4fae6c1343d97bc19b16ffae8.zip |
dev-util/ninka: add 2.0_pre1_p20220619
Bug: https://bugs.gentoo.org/856007
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-util/ninka/ninka-2.0_pre1_p20220619.ebuild')
-rw-r--r-- | dev-util/ninka/ninka-2.0_pre1_p20220619.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/ninka/ninka-2.0_pre1_p20220619.ebuild b/dev-util/ninka/ninka-2.0_pre1_p20220619.ebuild new file mode 100644 index 000000000000..2ee065f72d2b --- /dev/null +++ b/dev-util/ninka/ninka-2.0_pre1_p20220619.ebuild @@ -0,0 +1,49 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit perl-module toolchain-funcs + +COMMIT="b94e0d36669c4cc086856adf57bc67ced8f1aaf0" +DESCRIPTION="A license identification tool for source code" +HOMEPAGE="http://ninka.turingmachine.org/" +SRC_URI="https://github.com/dmgerman/${PN}/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2+ myspell-en_CA-KevinAtkinson public-domain Princeton Ispell" +SLOT="0" +KEYWORDS="~amd64" +IUSE="sqlite test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-perl/IO-CaptureOutput + dev-perl/Spreadsheet-WriteExcel + virtual/perl-File-Temp + sqlite? ( + dev-perl/DBD-SQLite + dev-perl/DBI + )" + +BDEPEND="virtual/perl-ExtUtils-MakeMaker + test? ( + ${RDEPEND} + dev-perl/Test-Pod + dev-perl/Test-Strict + virtual/perl-Test-Simple + )" + +PATCHES=( "${FILESDIR}"/${PN}-2.0_pre1_p20170402-makefile.patch ) + +src_compile() { + perl-module_src_compile + emake -C comments CXX="$(tc-getCXX)" +} + +src_install() { + perl-module_src_install + use sqlite || rm "${ED}"/usr/bin/ninka-sqlite || die + dobin comments/comments + doman comments/comments.1 + dodoc BUGS.org +} |