2014-07-23 06:34:40 +00:00
|
|
|
#
|
2016-01-23 13:15:55 +00:00
|
|
|
# Copyright (C) 2015 - 2016 OpenWrt.org
|
2014-07-23 06:34:40 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2014-07-15 22:18:50 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=perl-uri
|
2019-09-20 18:28:09 +00:00
|
|
|
PKG_VERSION:=1.76
|
|
|
|
PKG_RELEASE:=1
|
2014-07-15 22:18:50 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=URI-$(PKG_VERSION).tar.gz
|
2019-09-20 18:28:09 +00:00
|
|
|
PKG_SOURCE_URL:=https://cpan.metacpan.org/authors/id/O/OA/OALDERS
|
|
|
|
PKG_HASH:=b2c98e1d50d6f572483ee538a6f4ccc8d9185f91f0073fd8af7390898254413e
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/URI-$(PKG_VERSION)
|
2014-07-15 22:18:50 +00:00
|
|
|
|
2014-07-23 07:17:08 +00:00
|
|
|
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
|
2019-09-20 18:28:09 +00:00
|
|
|
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2014-07-15 22:18:50 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../perl/perlmod.mk
|
|
|
|
|
|
|
|
define Package/perl-uri
|
2014-07-23 07:11:41 +00:00
|
|
|
SUBMENU:=Perl
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Manipulates and accesses URI strings
|
2019-09-20 18:28:09 +00:00
|
|
|
URL:=https://search.cpan.org/dist/URI/
|
2015-06-28 14:52:32 +00:00
|
|
|
DEPENDS:=perl +perlbase-essential +perlbase-integer +perlbase-mime +perlbase-scalar +perlbase-utf8
|
2014-07-15 22:18:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call perlmod/Configure,,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(call perlmod/Compile,,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/perl-uri/install
|
|
|
|
$(call perlmod/Install,$(1),URI URI.pm)
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,perl-uri))
|