blob: 0bdaf1353af3c0bf7071b4b67416d44842669b16 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2015 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=perl-http-cookies
11PKG_VERSION:=6.08
12PKG_RELEASE:=1
13
14PKG_SOURCE:=HTTP-Cookies-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/O/OA/OALDERS
16PKG_HASH:=49ebb73576eb41063c04bc079477df094496deec805ae033f3be338c23c3af59
17PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTTP-Cookies-$(PKG_VERSION)
18
19PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
20PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
21PKG_LICENSE_FILES:=LICENSE
22
23include $(INCLUDE_DIR)/package.mk
24include ../perl/perlmod.mk
25
26define Package/perl-http-cookies
27 SUBMENU:=Perl
28 SECTION:=lang
29 CATEGORY:=Languages
30 TITLE:=HTTP cookie jars
31 URL:=https://search.cpan.org/dist/HTTP-Cookies/
32 DEPENDS:=perl +perl-http-date +perl-http-message +perlbase-essential +perlbase-time
33endef
34
35define Build/Configure
36 $(call perlmod/Configure,,)
37endef
38
39define Build/Compile
40 $(call perlmod/Compile,,)
41endef
42
43define Package/perl-http-cookies/install
44 $(call perlmod/Install,$(1),HTTP auto/HTTP)
45endef
46
47
48$(eval $(call BuildPackage,perl-http-cookies))