diff options
author | James Cloos <cloos@jhcloos.com> | 2014-11-21 08:45:18 -0500 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2014-11-21 08:45:18 -0500 |
commit | d3056afd533efbed5e9c869beccdafeef98c5cc7 (patch) | |
tree | bc52b4e5da92a370a63c1f72439edfb1714a1210 | |
parent | 3ced86c4d6d165d387d2a104dbe2a901e19431b6 (diff) |
dev-perl/asterisk-perl: Update to eapi 5
Signed-off-by: James Cloos <cloos@jhcloos.com>
-rw-r--r-- | dev-perl/asterisk-perl/asterisk-perl-1.03.ebuild | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/dev-perl/asterisk-perl/asterisk-perl-1.03.ebuild b/dev-perl/asterisk-perl/asterisk-perl-1.03.ebuild index 51c8331..11f5574 100644 --- a/dev-perl/asterisk-perl/asterisk-perl-1.03.ebuild +++ b/dev-perl/asterisk-perl/asterisk-perl-1.03.ebuild @@ -2,28 +2,21 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit eutils perl-module +EAPI=5 + +MODULE_AUTHOR=JAMESGOL +MODULE_VERSION=1.03 +inherit perl-module DESCRIPTION="Perl bindings for the Asterisk AGI" -HOMEPAGE="http://search.cpan.org/~jamesgol/" -SRC_URI="http://search.cpan.org/CPAN/authors/id/J/JA/JAMESGOL/${P}.tar.gz" -LICENSE="Artistic" SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-lang/perl" +KEYWORDS="amd64 x86" +IUSE="test" -mydoc="README LICENSE CHANGES examples/*" +RDEPEND="" +DEPEND="${RDEPEND} + virtual/perl-Module-Build + test? ( virtual/perl-Test-Simple )" -pkg_setup() { - einfo "Checking your perl installation..." - if has_version '<dev-lang/perl-5.8.8' && built_with_use 'dev-lang/perl' minimal; then - eerror "Your perl was built with the 'minimal' USE flag." - eerror "asterisk-perl will not build in these conditions." - eerror "Re-emerge dev-lang/perl with the 'minimal' flag unset." - die "perl with 'minimal' use flag found" - fi - einfo "Everything is fine, continuing..." -} +SRC_TEST="do" |