diff options
Diffstat (limited to 'dev-perl/constant-defer/constant-defer-6.0.0.ebuild')
-rw-r--r-- | dev-perl/constant-defer/constant-defer-6.0.0.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-perl/constant-defer/constant-defer-6.0.0.ebuild b/dev-perl/constant-defer/constant-defer-6.0.0.ebuild new file mode 100644 index 000000000000..12d3cc66e01b --- /dev/null +++ b/dev-perl/constant-defer/constant-defer-6.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DIST_AUTHOR="KRYDE" +DIST_VERSION="6" +inherit perl-module + +DESCRIPTION="constant subs with deferred value calculation" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test examples" + +RDEPEND="virtual/perl-Carp" +DEPEND="virtual/perl-ExtUtils-MakeMaker + virtual/perl-Exporter + test? ( virtual/perl-Data-Dumper + virtual/perl-Test + virtual/perl-Test-Simple )" + +src_install() { + perl-module_src_install + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + fi +} |