treewide: move all perl packages into its own folder

This makes it in sync with Python packages.
Python packages has its own place in /lang/python
Perl does not, so this fixes it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
Josef Schlehofer
2025-06-17 22:43:38 +02:00
parent 04b7b67e75
commit e9f4aa38ef
97 changed files with 48 additions and 48 deletions

View File

@@ -0,0 +1,48 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=perl-future
PKG_VERSION:=0.51
PKG_RELEASE:=1
PKG_SOURCE_NAME:=Future
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/P/PE/PEVANS
PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=563ce37383a000ecfd6b7942dd0f4b9fafb2b2c45e0b731029361f261c2f4a36
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_SOURCE_NAME)-$(PKG_VERSION)
PKG_MAINTAINER:=Jens Wagner <jens@wagner2013.de>
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include ../perlmod.mk
define Package/perl-future
SUBMENU:=Perl
SECTION:=lang
CATEGORY:=Languages
TITLE:=Future represents an operation awaiting completion
URL:=https://metacpan.org/pod/Future
DEPENDS:=perl +perlbase-essential +perlbase-b +perlbase-time +perlbase-list
endef
define Package/perl-future/description
A Future object represents an operation that is currently in progress,
or has recently completed. It can be used in a variety of ways to manage
the flow of control, and data, through an asynchronous program.
endef
define Build/Configure
$(call perlmod/Configure,,)
endef
define Build/Compile
$(call perlmod/Compile,,)
endef
define Package/perl-future/install
$(call perlmod/Install,$(1),Future.pm Future)
endef
$(eval $(call BuildPackage,perl-future))

View File

@@ -0,0 +1,17 @@
require 5.014;
use ExtUtils::MakeMaker;
WriteMakefile
(
'NAME' => 'Future',
'VERSION_FROM' => 'lib/Future.pm',
'PREREQ_PM' => {
'Carp' => '1.25',
'List::Util' => '1.29',
'Time::HiRes' => 0,
},
'INSTALLDIRS' => 'site',
'EXE_FILES' => [],
'PL_FILES' => {}
)
;