python: bump to version 2.7.14
[feed/packages.git] / lang / perl-www-curl / Makefile
1 #
2 # Copyright (C) 2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=perl-www-curl
11 PKG_VERSION:=4.17
12 PKG_RELEASE:=4
13
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
17
18 PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl
19 PKG_LICENSE_FILES:=LICENSE
20 PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
21
22 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Curl-$(PKG_VERSION)
23
24 include $(INCLUDE_DIR)/package.mk
25 include ../perl/perlmod.mk
26
27 define Package/perl-www-curl
28 SUBMENU:=Perl
29 SECTION:=lang
30 CATEGORY:=Languages
31 TITLE:=Perl bindings to libcurl
32 URL:=http://search.cpan.org/dist/WWW-Curl/
33 DEPENDS:=perl +libcurl +perlbase-essential +perlbase-xsloader
34 endef
35
36 define Build/Configure
37 $(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
38 endef
39
40 define Build/Compile
41 $(call perlmod/Compile,,)
42 endef
43
44 define Package/perl-www-curl/install
45 $(call perlmod/Install,$(1),WWW/Curl WWW/Curl.pm auto/WWW/Curl)
46 endef
47
48
49 $(eval $(call BuildPackage,perl-www-curl))