Browse Source

Merge pull request #14406 from tofurky/fix_perl-www

perl-www: add dependency on perl-try-tiny
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
46b0ed55e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 2 deletions
  1. +47
    -0
      lang/perl-try-tiny/Makefile
  2. +2
    -2
      lang/perl-www/Makefile

+ 47
- 0
lang/perl-try-tiny/Makefile View File

@ -0,0 +1,47 @@
#
# Copyright (C) 2021 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=perl-try-tiny
PKG_VERSION:=0.30
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/E/ET/ETHER/
PKG_SOURCE:=Try-Tiny-$(PKG_VERSION).tar.gz
PKG_HASH:=da5bd0d5c903519bbf10bb9ba0cb7bcac0563882bcfe4503aee3fb143eddef6b
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Try-Tiny-$(PKG_VERSION)
PKG_MAINTAINER:=Matt Merhar <mattmerhar@protonmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/perl/perlmod.mk
define Package/perl-try-tiny
SUBMENU:=Perl
SECTION:=lang
CATEGORY:=Languages
TITLE:=Minimal try/catch with proper preservation of $$$$@
URL:=https://metacpan.org/pod/Try::Tiny
DEPENDS:=perl +perlbase-essential
endef
define Build/Configure
$(call perlmod/Configure,,)
endef
define Build/Compile
$(call perlmod/Compile,,)
endef
define Package/perl-try-tiny/install
$(call perlmod/Install,$(1),Try auto/Try)
endef
$(eval $(call BuildPackage,perl-try-tiny))

+ 2
- 2
lang/perl-www/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=perl-www
PKG_VERSION:=6.43
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/O/OA/OALDERS
PKG_SOURCE:=libwww-perl-$(PKG_VERSION).tar.gz
@ -30,7 +30,7 @@ define Package/perl-www
CATEGORY:=Languages
TITLE:=WWW client/server library for Perl (aka LWP)
URL:=https://search.cpan.org/dist/libwww-perl/
DEPENDS:=perl +perl-encode-locale +perl-file-listing +perl-html-parser +perl-http-cookies +perl-http-daemon +perl-http-date +perl-http-message +perl-http-negotiate +perl-lwp-mediatypes +perl-net-http +perl-uri +perl-www-robotrules +perlbase-base +perlbase-digest +perlbase-encode +perlbase-essential +perlbase-io +perlbase-mime +perlbase-net
DEPENDS:=perl +perl-encode-locale +perl-file-listing +perl-html-parser +perl-http-cookies +perl-http-daemon +perl-http-date +perl-http-message +perl-http-negotiate +perl-lwp-mediatypes +perl-net-http +perl-try-tiny +perl-uri +perl-www-robotrules +perlbase-base +perlbase-digest +perlbase-encode +perlbase-essential +perlbase-io +perlbase-mime +perlbase-net
endef
define Build/Configure


Loading…
Cancel
Save