2015-06-28 12:32:15 +00:00
|
|
|
#
|
2016-02-24 19:36:21 +00:00
|
|
|
# Copyright (C) 2016 OpenWrt.org
|
2015-06-28 12:32:15 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=perl-cgi
|
2022-02-06 18:07:40 +00:00
|
|
|
PKG_VERSION:=4.54
|
2021-12-26 20:40:06 +00:00
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2015-06-28 12:32:15 +00:00
|
|
|
|
2019-04-07 21:37:30 +00:00
|
|
|
PKG_SOURCE_URL:=https://www.cpan.org/authors/id/L/LE/LEEJO
|
2015-06-28 12:32:15 +00:00
|
|
|
PKG_SOURCE:=CGI-$(PKG_VERSION).tar.gz
|
2022-02-06 18:07:40 +00:00
|
|
|
PKG_HASH:=9608a044ae2e87cefae8e69b113e3828552ddaba0d596a02f9954c6ac17fa294
|
2019-09-20 17:26:14 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/CGI-$(PKG_VERSION)
|
2015-06-28 12:32:15 +00:00
|
|
|
|
2017-01-06 22:39:36 +00:00
|
|
|
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>, \
|
|
|
|
Philip Prindeville <philipp@redfish-solutions.com>
|
2019-09-20 17:26:14 +00:00
|
|
|
PKG_LICENSE:=Artistic-2.0
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2015-06-28 12:32:15 +00:00
|
|
|
|
2017-01-06 22:39:36 +00:00
|
|
|
# don't strip comments because that will mangle this module
|
|
|
|
PKG_LEAVE_COMMENTS:=1
|
|
|
|
|
2015-06-28 12:32:15 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../perl/perlmod.mk
|
|
|
|
|
|
|
|
define Package/perl-cgi
|
|
|
|
SUBMENU:=Perl
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Handle Common Gateway Interface requests and responses
|
2019-04-07 21:37:30 +00:00
|
|
|
URL:=https://search.cpan.org/dist/CGI/
|
2015-06-28 14:52:32 +00:00
|
|
|
DEPENDS:=perl +perl-html-parser +perlbase-base +perlbase-config +perlbase-encode +perlbase-essential +perlbase-file +perlbase-if +perlbase-utf8
|
2015-06-28 12:32:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call perlmod/Configure,,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(call perlmod/Compile,,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/perl-cgi/install
|
2016-05-16 04:01:59 +00:00
|
|
|
$(call perlmod/Install,$(1),CGI CGI.pm auto/CGI)
|
2015-06-28 12:32:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,perl-cgi))
|