From 941c7f5120f24768077156aee47b9d40c642cda2 Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Wed, 1 Nov 2017 12:50:45 -0600 Subject: [PATCH] perl: add Text::CSV_XS for iptables-mod-geoip There are scripts to download and preprocess the GeoIP database for iptables-mod-geoip which require this Perl module. Signed-off-by: Philip Prindeville --- lang/perl-text-csv_xs/Makefile | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 lang/perl-text-csv_xs/Makefile diff --git a/lang/perl-text-csv_xs/Makefile b/lang/perl-text-csv_xs/Makefile new file mode 100644 index 0000000000..73cbbc7c3f --- /dev/null +++ b/lang/perl-text-csv_xs/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2017 Philip Prindeville, Redfish Solutions, LLC +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=perl-text-csv_xs +PKG_VERSION:=1.33 +PKG_RELEASE:=1 + +PKG_SOURCE_URL:=http://www.cpan.org/authors/id/H/HM/HMBRAND/ +PKG_SOURCE:=Text-CSV_XS-$(PKG_VERSION).tgz +PKG_HASH:=cef1d3792b72c7944c0a2e2a141c67c2180ee0cb03418d7b44c3ae2ab35339a2 + +PKG_LICENSE:=GPL-1.0+ Artistic-1.0-Perl +PKG_MAINTAINER:=Philip Prindeville + +PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Text-CSV_XS-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../perl/perlmod.mk + +define Package/perl-text-csv_xs + SUBMENU:=Perl + SECTION:=lang + CATEGORY:=Languages + TITLE:=Text comma-separated values manipulation routines + URL:=http://search.cpan.org/dist/Text-CSV_XS/ + DEPENDS:=perl +perlbase-essential +perlbase-config +perlbase-io +perlbase-dynaloader +endef + +define Build/Configure + $(call perlmod/Configure,,) +endef + +define Build/Compile + $(call perlmod/Compile,,) +endef + +define Package/perl-text-csv_xs/install + $(call perlmod/Install,$(1),Text Text/CSV_XS.pm auto/Text/CSV_XS) +endef + + +$(eval $(call BuildPackage,perl-text-csv_xs)) -- 2.30.2