commit: ebdb3d76fa3c55b95daf0d73cb655db814b2e8f4 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> AuthorDate: Tue Mar 20 08:42:36 2018 +0000 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> CommitDate: Tue Mar 20 08:52:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebdb3d76
dev-perl/Video-Frequencies: EAPI6 + tests - EAPI6ify - Add basic compile tests Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../Video-Frequencies-0.03-r2.ebuild | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-perl/Video-Frequencies/Video-Frequencies-0.03-r2.ebuild b/dev-perl/Video-Frequencies/Video-Frequencies-0.03-r2.ebuild new file mode 100644 index 00000000000..cc38e57acea --- /dev/null +++ b/dev-perl/Video-Frequencies/Video-Frequencies-0.03-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit perl-module + +DESCRIPTION="Video Frequencies perl module, for use with ivtv-ptune" +HOMEPAGE="http://ivtv.sourceforge.net" +SRC_URI="mirror://sourceforge/ivtv/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND}" + +src_configure() { + export OPTIMIZE="$CFLAGS" + perl-module_src_configure +} + +src_test() { + ebegin "Compile testing Video::Frequencies ${PV}" + perl -Mblib="${S}" -M"Video::Frequencies ${PV} ()" -e1 + if ! eend $?; then + echo + eerror "One or more modules failed compile:"; + eerror " Video::Frequencies ${PV}" + die "Failing due to module compilation errors"; + fi + perl-module_src_test +}
