2014-07-23 06:34:40 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
|
|
#
|
|
|
|
# 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-www-curl
|
2014-07-15 22:24:28 +00:00
|
|
|
PKG_VERSION:=4.17
|
2020-03-13 09:56:30 +00:00
|
|
|
PKG_RELEASE:=7
|
2014-07-15 22:18:50 +00:00
|
|
|
|
2014-07-23 07:05:48 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.cpan.org/authors/id/S/SZ/SZBALINT/
|
2014-07-15 22:18:50 +00:00
|
|
|
PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz
|
2017-08-28 04:28:09 +00:00
|
|
|
PKG_HASH:=52ffab110e32348d775f241c973eb56f96b08eedbc110d77d257cdb0a24ab7ba
|
2014-07-15 22:18:50 +00:00
|
|
|
|
2019-09-02 13:15:08 +00:00
|
|
|
PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
|
2014-07-23 06:59:14 +00:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2014-07-23 07:17:08 +00:00
|
|
|
PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
|
2014-07-23 06:59:14 +00:00
|
|
|
|
2014-07-15 22:18:50 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Curl-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include ../perl/perlmod.mk
|
|
|
|
|
|
|
|
define Package/perl-www-curl
|
2014-07-23 07:11:41 +00:00
|
|
|
SUBMENU:=Perl
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
|
|
|
TITLE:=Perl bindings to libcurl
|
|
|
|
URL:=http://search.cpan.org/dist/WWW-Curl/
|
2015-06-28 14:52:32 +00:00
|
|
|
DEPENDS:=perl +libcurl +perlbase-essential +perlbase-xsloader
|
2014-07-15 22:18:50 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(call perlmod/Compile,,)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/perl-www-curl/install
|
|
|
|
$(call perlmod/Install,$(1),WWW/Curl WWW/Curl.pm auto/WWW/Curl)
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,perl-www-curl))
|