perl-modules: moved to github
perl-modules: moved to github

git-svn-id: svn://svn.openwrt.org/openwrt/packages@41821 3c298f89-4303-0410-b956-a3cf2f4a3e73

 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-compress-bzip2  
PKG_VERSION:=2.09  
PKG_RELEASE:=3  
PKG_MD5SUM:=1699fde3e86f2a036f135ae606d456bf  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY  
PKG_SOURCE:=Compress-Bzip2-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Compress-Bzip2-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-compress-bzip2  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Perl interface to bzip2 compression library  
URL:=http://search.cpan.org/dist/Compress-Bzip2/  
DEPENDS:=perl +libbz2  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,BUILD_BZLIB=0)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-compress-bzip2/install  
$(call perlmod/Install,$(1),Compress auto/Compress)  
endef  
 
 
$(eval $(call BuildPackage,perl-compress-bzip2))  
 
file:a/lang/perl-dbi/Makefile (deleted)
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-dbi  
PKG_VERSION:=1.604  
PKG_RELEASE:=1  
PKG_MD5SUM:=358511d60eb3daba913d49236c469802  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/  
PKG_SOURCE:=DBI-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/DBI-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-dbi  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Database independent interface for Perl  
URL:=http://search.cpan.org/dist/DBI/  
DEPENDS:=perl +perlbase-essential  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-dbi/install  
$(call perlmod/Install,$(1),DB* auto/DBI,DBI/W32ODBC.pm auto/DBI/*.h)  
endef  
 
 
$(eval $(call BuildPackage,perl-dbi))  
 
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-html-parser  
PKG_VERSION:=3.56  
PKG_RELEASE:=1  
PKG_MD5SUM:=bddc432e5ed9df4d4153a62234f04fc2  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GA/GAAS  
PKG_SOURCE:=HTML-Parser-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Parser-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-html-parser  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=A collection of modules that parse HTML text documents  
URL:=http://search.cpan.org/dist/HTML-Parser/  
DEPENDS:=perl +perl-html-tagset +perl-uri  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-html-parser/install  
$(call perlmod/Install,$(1),HTML auto/HTML)  
endef  
 
 
$(eval $(call BuildPackage,perl-html-parser))  
 
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-html-tagset  
PKG_VERSION:=3.20  
PKG_RELEASE:=1  
PKG_MD5SUM:=d2bfa18fe1904df7f683e96611e87437  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE  
PKG_SOURCE:=HTML-Tagset-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Tagset-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-html-tagset  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Data tables pertaining to HTML  
URL:=http://search.cpan.org/dist/HTML-Tagset/  
DEPENDS:=perl  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-html-tagset/install  
$(call perlmod/Install,$(1),HTML)  
endef  
 
 
$(eval $(call BuildPackage,perl-html-tagset))  
 
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-html-tree  
PKG_VERSION:=3.23  
PKG_RELEASE:=2  
PKG_MD5SUM:=6352f50be402301f79b580dd235d7762  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/P/PE/PETEK  
PKG_SOURCE:=HTML-Tree-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/HTML-Tree-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-html-tree  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=represent and create HTML syntax trees  
URL:=http://search.cpan.org/dist/HTML-Tree/  
DEPENDS:=perl +perl-html-parser +perl-html-tagset  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-html-tree/install  
$(call perlmod/Install,$(1),HTML)  
endef  
 
 
$(eval $(call BuildPackage,perl-html-tree))  
 
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-lockfile-simple  
PKG_VERSION:=0.206  
PKG_RELEASE:=1  
PKG_MD5SUM:=d8966c3fb799aefcaaf80f845057a1fa  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/J/JV/JV  
PKG_SOURCE:=LockFile-Simple-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/LockFile-Simple-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-lockfile-simple  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Simple advisory file locking  
URL:=http://search.cpan.org/dist/LockFile-Simple/  
DEPENDS:=perl  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-lockfile-simple/install  
$(call perlmod/Install,$(1),LockFile auto/LockFile)  
endef  
 
 
$(eval $(call BuildPackage,perl-lockfile-simple))  
 
#  
# Copyright (C) 2011 OpenWrt.org  
#  
# This is free software, licensed under the GNU General Public License v2.  
# See /LICENSE for more information.  
#  
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-net-telnet  
PKG_VERSION:=3.03  
PKG_RELEASE:=1  
PKG_MD5SUM:=2f7d34b09d6117baefe89d44cff9d5fc  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/J/JR/JROGERS  
PKG_SOURCE:=Net-Telnet-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Net-Telnet-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-net-telnet  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Telnet client  
URL:=http://search.cpan.org/~jrogers/Net-Telnet-3.03/  
DEPENDS:=perl  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-net-telnet/install  
$(call perlmod/Install,$(1),Net auto/Net)  
endef  
 
$(eval $(call BuildPackage,perl-net-telnet))  
 
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-test-harness  
PKG_VERSION:=3.25  
PKG_RELEASE:=1  
PKG_MD5SUM:=69a8a019eeb952fe97e3ac0767c726da  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/O/OV/OVID  
PKG_SOURCE:=Test-Harness-$(PKG_VERSION).tar.gz  
 
PKG_LICENSE:=GPLv2 ARTISTIC  
PKG_LICENSE_FILES:=  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Test-Harness-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-test-harness  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Perl Test Harness  
URL:=http://search.cpan.org/~ovid/Test-Harness-3.25/bin/prove  
DEPENDS:=+perl  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-test-harness/install  
$(call perlmod/Install,$(1),App auto/Test TAP Test)  
endef  
 
 
$(eval $(call BuildPackage,perl-test-harness))  
 
file:a/lang/perl-uri/Makefile (deleted)
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-uri  
PKG_VERSION:=1.36  
PKG_RELEASE:=1  
PKG_MD5SUM:=a97bbdd38b31c6b2672fdc3060fae34b  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GA/GAAS  
PKG_SOURCE:=URI-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/URI-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-uri  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Manipulates and accesses URI strings  
URL:=http://search.cpan.org/dist/URI/  
DEPENDS:=perl  
endef  
 
define Build/Configure  
$(call perlmod/Configure,,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-uri/install  
$(call perlmod/Install,$(1),URI URI.pm)  
endef  
 
 
$(eval $(call BuildPackage,perl-uri))  
 
 
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))  
 
--- 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  
 
#  
# Copyright (C) 2010 OpenWrt.org  
#  
# This is free software, licensed under the GNU General Public License v2.  
# See /LICENSE for more information.  
#  
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-www-mechanize  
PKG_VERSION:=1.58  
PKG_RELEASE:=1  
 
PKG_SOURCE:=WWW-Mechanize-$(PKG_VERSION).tar.gz  
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/  
PKG_MD5SUM:=c928d1bf3218bfe0c0d99096cf34db52  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/WWW-Mechanize-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-www-mechanize  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=Perl WWW Mechanize  
URL:=http://search.cpan.org/dist/WWW-Mechanize/  
DEPENDS:=perl +perl-www  
endef  
 
define Build/Configure  
$(call perlmod/Configure,$(STAGING_DIR)/usr/include,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-www-mechanize/install  
$(call perlmod/Install,$(1),WWW/Mechanize WWW/Mechanize.pm)  
endef  
 
$(eval $(call BuildPackage,perl-www-mechanize))  
 
file:a/lang/perl-www/Makefile (deleted)
#  
# Copyright (C) 2013 OpenWrt.org  
#  
# This is free software, licensed under the GNU General Public License v2.  
# See /LICENSE for more information.  
#  
 
include $(TOPDIR)/rules.mk  
 
PKG_NAME:=perl-www  
PKG_VERSION:=5.837  
PKG_RELEASE:=1  
PKG_MD5SUM:=9bbf1bce482b0bac98bb4f04253c03d0  
 
PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/G/GA/GAAS  
PKG_SOURCE:=libwww-perl-$(PKG_VERSION).tar.gz  
 
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/libwww-perl-$(PKG_VERSION)  
 
include $(INCLUDE_DIR)/package.mk  
include ../perl/perlmod.mk  
 
define Package/perl-www  
SUBMENU:=Perl  
SECTION:=lang  
CATEGORY:=Languages  
TITLE:=WWW client/server library for Perl (aka LWP)  
URL:=http://search.cpan.org/dist/libwww-perl/  
DEPENDS:=perl +perl-html-parser +perl-html-tagset +perl-uri  
endef  
 
define Build/Configure  
$(call perlmod/Configure,-n,)  
endef  
 
define Build/Compile  
$(call perlmod/Compile,,)  
endef  
 
define Package/perl-www/install  
$(call perlmod/Install,$(1),File HTML HTTP LWP LWP.pm Net WWW)  
endef  
 
 
$(eval $(call BuildPackage,perl-www))  
 
comments