mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
perl-clone: new module Clone, version 0.47
This module provides a clone() method to make recursive copies of various nested data types. It is e.g. required by recent versions of HTTP::Message Signed-off-by: Jens Wagner <jens@wagner2013.de>
This commit is contained in:
committed by
Josef Schlehofer
parent
1d33c0ed9d
commit
0ac2c7416a
43
lang/perl/perl-clone/Makefile
Normal file
43
lang/perl/perl-clone/Makefile
Normal file
@@ -0,0 +1,43 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=perl-clone
|
||||
PKG_VERSION:=0.47
|
||||
PKG_RELEASE:=1
|
||||
|
||||
METACPAN_NAME:=Clone
|
||||
METACPAN_AUTHOR:=ATOOMIC
|
||||
PKG_HASH:=4c2c0cb9a483efbf970cb1a75b2ca75b0e18cb84bcb5c09624f86e26b09c211d
|
||||
|
||||
PKG_MAINTAINER:=Jens Wagner <jens@wagner2013.de>
|
||||
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
|
||||
|
||||
include ../metacpan.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../perlmod.mk
|
||||
|
||||
define Package/perl-clone
|
||||
SUBMENU:=Perl
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=Recursively copy Perl datatypes
|
||||
URL:=https://metacpan.org/pod/Clone
|
||||
DEPENDS:=perl +perlbase-autoloader +perlbase-essential +perlbase-xsloader
|
||||
endef
|
||||
|
||||
define Package/perl-clone/description
|
||||
This module provides a clone() method to make recursive copies.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call perlmod/Configure,,)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call perlmod/Compile,,)
|
||||
endef
|
||||
|
||||
define Package/perl-clone/install
|
||||
$(call perlmod/Install,$(1),Clone.pm auto/Clone)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,perl-clone))
|
||||
Reference in New Issue
Block a user