mirror of
https://github.com/openwrt/packages.git
synced 2025-12-18 16:41:22 +00:00
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:
46
lang/perl/perl-net-async-http/Makefile
Normal file
46
lang/perl/perl-net-async-http/Makefile
Normal file
@@ -0,0 +1,46 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=perl-net-async-http
|
||||
PKG_VERSION:=0.50
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_NAME:=Net-Async-HTTP
|
||||
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/P/PE/PEVANS
|
||||
PKG_SOURCE:=$(PKG_SOURCE_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_HASH:=92845b8ffdd2dc81decbe8a7b99203e4e34971de6624acb5c10aa9ff07885b87
|
||||
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-net-async-http
|
||||
SUBMENU:=Perl
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=HTTP with IO::Async
|
||||
URL:=https://metacpan.org/pod/Net::Async::HTTP
|
||||
DEPENDS:=perl +perlbase-list +perlbase-socket +perlbase-time +perl-future +perl-http-message +perl-io-async +perl-metrics-any +perl-struct-dumb +perl-uri
|
||||
endef
|
||||
|
||||
define Package/perl-net-async-http/description
|
||||
This object class implements an asynchronous HTTP user agent.
|
||||
Similar to LWP::UserAgent, but for IO::Async.
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call perlmod/Configure,,)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call perlmod/Compile,,)
|
||||
endef
|
||||
|
||||
define Package/perl-net-async-http/install
|
||||
$(call perlmod/Install,$(1),Net)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,perl-net-async-http))
|
||||
28
lang/perl/perl-net-async-http/src/Makefile.PL
Normal file
28
lang/perl/perl-net-async-http/src/Makefile.PL
Normal file
@@ -0,0 +1,28 @@
|
||||
use 5.014;
|
||||
use ExtUtils::MakeMaker;
|
||||
WriteMakefile
|
||||
(
|
||||
'NAME' => 'Net::Async::HTTP',
|
||||
'VERSION_FROM' => 'lib/Net/Async/HTTP.pm',
|
||||
'PREREQ_PM' => {
|
||||
'Future' => '0.28',
|
||||
'Future::Utils' => '0.16',
|
||||
'HTTP::Request' => 0,
|
||||
'HTTP::Request::Common' => 0,
|
||||
'HTTP::Response' => 0,
|
||||
'IO::Async::Loop' => '0.59',
|
||||
'IO::Async::Stream' => '0.59',
|
||||
'IO::Async::Timer::Countdown' => 0,
|
||||
'List::Util' => "1.29",
|
||||
'Metrics::Any' => '0.05',
|
||||
'Socket' => '2.010',
|
||||
'Struct::Dumb' => '0.07',
|
||||
'Time::HiRes' => 0,
|
||||
'URI' => 0,
|
||||
},
|
||||
'INSTALLDIRS' => 'site',
|
||||
'EXE_FILES' => [],
|
||||
'PL_FILES' => {}
|
||||
)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user