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.

48 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2020 Philip Prindeville, Redfish Solutions, LLC
  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-net-cidr-lite
  9. PKG_VERSION:=0.21
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=Net-CIDR-Lite-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/D/DO/DOUGW
  13. PKG_HASH:=cfa125e8a2aef9259bc3a44e07cbdfb7894b64d22e7c0cee92aee2f5c7915093
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Net-CIDR-Lite-$(PKG_VERSION)
  15. PKG_MAINTAINER:=Philip Prindeville <philipp@redfish-solutions.com>
  16. PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../perl/perlmod.mk
  19. define Package/perl-net-cidr-lite
  20. SUBMENU:=Perl
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. TITLE:=Perl extension for merging IPv4 or IPv6 CIDR addresses
  24. URL:=https://search.cpan.org/dist/Net-CIDR-Lite/
  25. DEPENDS:=perl +perlbase-essential +perlbase-config +perlbase-io +perlbase-dynaloader
  26. PKGARCH:=all
  27. endef
  28. define Build/Configure
  29. $(call perlmod/Configure,,)
  30. endef
  31. define Build/Compile
  32. $(call perlmod/Compile,,)
  33. endef
  34. define Package/perl-net-cidr-lite/install
  35. $(call perlmod/Install,$(1),Net Net/CIDR Net/CIDR/Lite.pm)
  36. endef
  37. $(eval $(call BuildPackage,perl-net-cidr-lite))