2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=perl-test-warn
14 PKG_SOURCE
:=Test-Warn-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://cpan.metacpan.org
/authors
/id
/B
/BI
/BIGJ
16 PKG_HASH
:=ecbca346d379cef8d3c0e4ac0c8eb3b2613d737ffaaeae52271c38d7bf3c6cda
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/Test-Warn-
$(PKG_VERSION
)
19 PKG_MAINTAINER
:=Marcel Denia
<naoir@gmx.net
>
20 PKG_LICENSE
:=GPL-1.0
-or-later Artistic-1.0
-Perl
22 include $(INCLUDE_DIR
)/package.mk
23 include ..
/perl
/perlmod.mk
25 define Package
/perl-test-warn
29 TITLE
:=Perl extension to
test methods for warnings
30 URL
:=https
://search.cpan.org
/dist/Test-Warn
/
31 DEPENDS
:=perl
+perl-sub-uplevel
+perlbase-essential
+perlbase-test
34 define Build
/Configure
35 $(call perlmod
/Configure
,,)
39 $(call perlmod
/Compile
,,)
42 define Package
/perl-test-warn
/install
43 $(call perlmod
/Install
,$(1),Test auto
/Test
)
47 $(eval
$(call BuildPackage
,perl-test-warn
))