You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

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