c139750c4b6cd58f5bd9a965a260009eae05aa67
[openwrt/svn-archive/archive.git] / lang / perl-www-curl / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=perl-www-curl
5 PKG_VERSION:=4.00
6 PKG_RELEASE:=1
7 PKG_MD5SUM:=f34eb29f59a811869a4f77bfc0df2f5d
8
9 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT
10 PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz
11 PKG_CAT:=zcat
12
13 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Curl-$(PKG_VERSION)
14
15 include $(INCLUDE_DIR)/package.mk
16 include ../perl/perlmod.mk
17
18 define Package/perl-www-curl
19 SUBMENU:=Perl
20 SECTION:=lang
21 CATEGORY:=Languages
22 TITLE:=Perl bindings to libcurl
23 URL:=http://search.cpan.org/~crisb/WWW-Curl-3.02/
24 DEPENDS:=libcurl perl
25 endef
26
27 define Build/Configure
28 $(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
29 endef
30
31 define Build/Compile
32 $(call perlmod/Compile,,)
33 endef
34
35 define Package/perl-www-curl/install
36 $(call perlmod/Install,$(1),WWW/Curl WWW/Curl.pm auto/WWW/Curl)
37 endef
38
39
40 $(eval $(call BuildPackage,perl-www-curl))