mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
Import of oldpackages/perl-*
Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
39
lang/perl-www-curl/Makefile
Normal file
39
lang/perl-www-curl/Makefile
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=perl-www-curl
|
||||
PKG_VERSION:=4.00
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=f34eb29f59a811869a4f77bfc0df2f5d
|
||||
|
||||
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT
|
||||
PKG_SOURCE:=WWW-Curl-$(PKG_VERSION).tar.gz
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Curl-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../perl/perlmod.mk
|
||||
|
||||
define Package/perl-www-curl
|
||||
SUBMENU:=Perl
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=Perl bindings to libcurl
|
||||
URL:=http://search.cpan.org/dist/WWW-Curl/
|
||||
DEPENDS:=perl +libcurl
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call perlmod/Configure,$(STAGING_DIR)/usr/include,)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call perlmod/Compile,,)
|
||||
endef
|
||||
|
||||
define Package/perl-www-curl/install
|
||||
$(call perlmod/Install,$(1),WWW/Curl WWW/Curl.pm auto/WWW/Curl)
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call BuildPackage,perl-www-curl))
|
||||
@@ -0,0 +1,11 @@
|
||||
--- WWW-Curl-4.00.config/Makefile.PL 2008-04-21 23:18:39.000000000 +0200
|
||||
+++ WWW-Curl-4.00/Makefile.PL 2008-04-21 23:18:52.000000000 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
no_index directory => 'template';
|
||||
# This is a hack. If you have libcurl installed, just specify curl.h below
|
||||
# and comment out this line.
|
||||
-requires_external_bin 'curl-config';
|
||||
+#requires_external_bin 'curl-config';
|
||||
|
||||
# This utility helper generates the constants function from curl.h
|
||||
# It is normally only used by the maintainer, but if you're curl is older
|
||||
Reference in New Issue
Block a user