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.

53 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.36
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=http://www.cpan.org/authors/id/L/LE/LEEJO
  12. PKG_SOURCE:=CGI-$(PKG_VERSION).tar.gz
  13. PKG_MD5SUM:=48566d81f430a7f755bb4d8f426ce35d
  14. PKG_HASH:=fefe84d4f2461e867f9be80f3f988e17bcbbcb4e306952cf2fd1dea7e4515490
  15. PKG_LICENSE:=GPL Artistic-2.0
  16. PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>, \
  17. Philip Prindeville <philipp@redfish-solutions.com>
  18. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/CGI-$(PKG_VERSION)
  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:=http://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))