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-html-form
14 PKG_SOURCE
:=HTML-Form-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://cpan.metacpan.org
/authors
/id
/O
/OA
/OALDERS
16 PKG_HASH
:=36c6c601ca829719f6651be1b80872028f82bec1712608dd860deeb67da32492
17 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/HTML-Form-
$(PKG_VERSION
)
19 PKG_MAINTAINER
:=Marcel Denia
<naoir@gmx.net
>
20 PKG_LICENSE
:=GPL-1.0
-or-later Artistic-1.0
-Perl
21 PKG_LICENSE_FILES
:=LICENSE
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/perl
/perlmod.mk
26 define Package
/perl-html-form
30 TITLE
:=Class that represents an HTML form element
31 URL
:=https
://search.cpan.org
/dist/HTML-Form
/
32 DEPENDS
:=perl
+perl-html-parser
+perl-http-message
+perl-uri
+perlbase-encode
+perlbase-essential
35 define Build
/Configure
36 $(call perlmod
/Configure
,,)
40 $(call perlmod
/Compile
,,)
43 define Package
/perl-html-form
/install
44 $(call perlmod
/Install
,$(1),HTML auto
/HTML
)
48 $(eval
$(call BuildPackage
,perl-html-form
))