1 # $Id: Makefile 4033 2006-06-21 02:32:39Z nbd $
3 include $(TOPDIR
)/rules.mk
5 PKG_NAME
:=perl-www-curl
8 PKG_MD5SUM
:=f34eb29f59a811869a4f77bfc0df2f5d
10 PKG_SOURCE_URL
:=http
://search.cpan.org
/CPAN
/authors
/id
/S
/SZ
/SZBALINT
11 PKG_SOURCE
:=WWW-Curl-
$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/WWW-Curl-
$(PKG_VERSION
)
16 include $(INCLUDE_DIR
)/package.mk
17 include ..
/perl
/perlmod.mk
19 define Package
/perl-www-curl
23 TITLE
:=Perl bindings to libcurl
24 URL
:=http
://search.cpan.org
/~crisb
/WWW-Curl-3.02
/
28 define Build
/Configure
29 $(call perlmod
/Configure
,$(STAGING_DIR
)/usr
/include,)
33 $(call perlmod
/Compile
,,)
36 define Package
/perl-www-curl
/install
37 $(call perlmod
/Install
,$(1),WWW
/Curl WWW
/Curl.pm auto
/WWW
/Curl
)
41 $(eval
$(call BuildPackage
,perl-www-curl
))