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.

44 lines
1010 B

  1. # SPDX-License-Identifier: GPL-3.0-only
  2. #
  3. # Copyright (C) 2021 ImmortalWrt.org
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=perl-file-next
  6. PKG_VERSION:=1.18
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PKG_SOURCE_URL:=http://www.cpan.org/authors/id/P/PE/PETDANCE/
  9. PKG_SOURCE:=File-Next-$(PKG_VERSION).tar.gz
  10. PKG_HASH:=f900cb39505eb6e168a9ca51a10b73f1bbde1914b923a09ecd72d9c02e6ec2ef
  11. PKG_LICENSE:=Artistic-2.0
  12. PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
  13. PKG_BUILD_DIR:=$(BUILD_DIR)/perl/File-Next-$(PKG_VERSION)
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../perl/perlmod.mk
  16. define Package/perl-file-next
  17. SUBMENU:=Perl
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. TITLE:=File finding module
  21. URL:=http://search.cpan.org/dist/File-Next/
  22. DEPENDS:=perl +perlbase-file
  23. endef
  24. define Build/Configure
  25. $(call perlmod/Configure,,)
  26. endef
  27. define Build/Compile
  28. $(call perlmod/Compile,,)
  29. endef
  30. define Package/perl-file-next/install
  31. $(call perlmod/Install,$(1),File auto/File)
  32. endef
  33. $(eval $(call BuildPackage,perl-file-next))