4ada0f6334e7c5340ecaf86dc45e8d8068fc3d6a
[packages.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
12 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Curl-$(PKG_VERSION)
13
14 include $(INCLUDE_DIR)/package.mk
15 include ../perl/perlmod.mk
16
17 define Package/perl-www-curl
18 SUBMENU:=Perl
19 SECTION:=lang
20 CATEGORY:=Languages
21 TITLE:=Perl bindings to libcurl
22 URL:=http://search.cpan.org/dist/WWW-Curl/
23 DEPENDS:=perl +libcurl
24 endef
25
26 define Build/Configure
27         $(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
28 endef
29
30 define Build/Compile
31         $(call perlmod/Compile,,)
32 endef
33
34 define Package/perl-www-curl/install
35         $(call perlmod/Install,$(1),WWW/Curl WWW/Curl.pm auto/WWW/Curl)
36 endef
37
38
39 $(eval $(call BuildPackage,perl-www-curl))