From: Jens Wagner Date: Tue, 17 Jun 2025 01:19:04 +0000 (+0200) Subject: perl-www-mechanize: restructure and update to 2.19 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=d028183d5c63b7eac3382c12e08f0dda50a998a3;p=feed%2Fpackages.git perl-www-mechanize: restructure and update to 2.19 Changed maintainer to @jw2013 Updated Makefile to use metacpan.mk download helper Changelog: https://metacpan.org/dist/WWW-Mechanize/changes Signed-off-by: Jens Wagner --- diff --git a/lang/perl/perl-www-mechanize/Makefile b/lang/perl/perl-www-mechanize/Makefile index bb72a915b5..02d553f509 100644 --- a/lang/perl/perl-www-mechanize/Makefile +++ b/lang/perl/perl-www-mechanize/Makefile @@ -1,39 +1,37 @@ -# -# Copyright (C) 2010-2015 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-www-mechanize -PKG_VERSION:=1.96 +PKG_VERSION:=2.19 PKG_RELEASE:=1 -PKG_SOURCE:=WWW-Mechanize-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/O/OA/OALDERS -PKG_HASH:=a79a613452287433a88e689195b09951a06c2df6d7fd40c15aa556452de9ab04 -PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Mechanize-$(PKG_VERSION) +METACPAN_NAME:=WWW-Mechanize +METACPAN_AUTHOR:=OALDERS +PKG_HASH:=7b02e808018ff22a8798e51b5f329d8fac333fbfa8fb63808910091dade8b61f -PKG_MAINTAINER:=Marcel Denia +PKG_MAINTAINER:=Jens Wagner PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl PKG_LICENSE_FILES:=LICENSE +include ../metacpan.mk include $(INCLUDE_DIR)/package.mk -include ../perl/perlmod.mk +include ../perlmod.mk define Package/perl-www-mechanize SUBMENU:=Perl SECTION:=lang CATEGORY:=Languages - TITLE:=Perl WWW Mechanize - URL:=https://search.cpan.org/dist/WWW-Mechanize/ - DEPENDS:=perl +perl-cgi +perl-html-form +perl-html-parser +perl-html-tree +perl-http-daemon +perl-http-message +perl-http-server-simple +perl-test-warn +perl-uri +perl-www +perlbase-base +perlbase-essential +perlbase-file +perlbase-findbin +perlbase-getopt +perlbase-pod +perlbase-test + TITLE:=Handy web browsing in a Perl object + URL:=https://metacpan.org/pod/WWW::Mechanize + DEPENDS:=perl +perlbase-base +perlbase-essential +perlbase-file +perlbase-findbin +perlbase-getopt +perlbase-pod +perlbase-test +perl-cgi +perl-html-form +perl-html-parser +perl-html-tree +perl-http-daemon +perl-http-message +perl-http-server-simple +perl-test-warn +perl-uri +perl-www +endef + +define Package/perl-www-mechanize/description + WWW::Mechanize supports performing a sequence of page + fetches including following links and submitting forms. endef define Build/Configure - $(call perlmod/Configure,$(STAGING_DIR)/usr/include,) + $(call perlmod/Configure,,) endef define Build/Compile @@ -41,8 +39,7 @@ define Build/Compile endef define Package/perl-www-mechanize/install - $(call perlmod/Install,$(1),WWW/Mechanize WWW/Mechanize.pm) + $(call perlmod/Install,$(1),WWW) endef - $(eval $(call BuildPackage,perl-www-mechanize))