2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=perl-www-curl
14 PKG_SOURCE_URL
:=http
://www.cpan.org
/authors
/id
/S
/SZ
/SZBALINT
/
15 PKG_SOURCE
:=WWW-Curl-
$(PKG_VERSION
).
tar.gz
16 PKG_HASH
:=52ffab110e32348d775f241c973eb56f96b08eedbc110d77d257cdb0a24ab7ba
18 PKG_LICENSE
:=GPL-1.0
-or-later Artistic-1.0
-Perl
19 PKG_LICENSE_FILES
:=LICENSE
20 PKG_MAINTAINER
:=Marcel Denia
<naoir@gmx.net
>
22 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/WWW-Curl-
$(PKG_VERSION
)
24 include $(INCLUDE_DIR
)/package.mk
25 include ..
/perl
/perlmod.mk
27 define Package
/perl-www-curl
31 TITLE
:=Perl bindings to libcurl
32 URL
:=http
://search.cpan.org
/dist/WWW-Curl
/
33 DEPENDS
:=perl
+libcurl
+perlbase-essential
+perlbase-xsloader
36 define Build
/Configure
37 $(call perlmod
/Configure
,$(STAGING_DIR
)/usr
/include,)
41 $(call perlmod
/Compile
,,)
44 define Package
/perl-www-curl
/install
45 $(call perlmod
/Install
,$(1),WWW
/Curl WWW
/Curl.pm auto
/WWW
/Curl
)
49 $(eval
$(call BuildPackage
,perl-www-curl
))